summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Halley <halley@dnspython.org>2022-11-24 07:27:12 -0800
committerBob Halley <halley@dnspython.org>2022-11-24 07:27:12 -0800
commit9c411fdf63384a4cfb1446d10e91ed4ea2f5a90a (patch)
tree87bd615764068738dc487da205faa39b1b9cdaef
parente0e0883a50d92a54bc079fa58708da41fcebf5c5 (diff)
downloaddnspython-9c411fdf63384a4cfb1446d10e91ed4ea2f5a90a.tar.gz
DoQ packing and testing tweaks
-rw-r--r--.github/workflows/python-package.yml7
-rw-r--r--README.md3
-rw-r--r--pyproject.toml2
-rw-r--r--setup.cfg1
4 files changed, 9 insertions, 4 deletions
diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml
index 9dbf6c5..cc5a368 100644
--- a/.github/workflows/python-package.yml
+++ b/.github/workflows/python-package.yml
@@ -22,9 +22,11 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
- python-version: ["3.7","3.8","3.9","3.10"]
+ python-version: ["3.7","3.8","3.9","3.10","3.11"]
exclude:
- os: windows-latest
+ python-version: "3.10"
+ - os: windows-latest
python-version: "3.9"
- os: windows-latest
python-version: "3.8"
@@ -41,8 +43,7 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install poetry
- poetry install -E dnssec -E doh -E idna -E trio -E curio
- poetry add aioquic
+ poetry install -E dnssec -E doh -E idna -E trio -E curio -E doq
- name: Typecheck
run: |
poetry run python -m mypy --install-types --non-interactive --disallow-incomplete-defs dns
diff --git a/README.md b/README.md
index 1d36805..1906c15 100644
--- a/README.md
+++ b/README.md
@@ -70,6 +70,9 @@ If you want to use WMI on Windows to determine the active DNS settings
instead of the default registry scanning method, run
`pip install dnspython[wmi]`.
+If you want to try the experimental DNS-over-QUIC code, run
+`pip install dnspython[doq]`.
+
Note that you can install any combination of the above, e.g.:
`pip install dnspython[doh,dnssec,idna]`
diff --git a/pyproject.toml b/pyproject.toml
index 5bc3827..13f7803 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -49,7 +49,7 @@ trio = {version=">=0.14,<0.23", optional=true}
curio = {version="^1.2", optional=true}
sniffio = {version="^1.1", optional=true}
wmi = {version="^1.5.1", optional=true}
-aioquic = {version="^0.9.20", optional=true}
+aioquic = {version=">=0.9.20", optional=true}
[tool.poetry.dev-dependencies]
pytest = ">=5.4.1,<8"
diff --git a/setup.cfg b/setup.cfg
index 2cb3e06..6fa2b87 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -55,6 +55,7 @@ DNSSEC = cryptography>=2.6
trio = trio>=0.14.0
curio = curio>=1.2; sniffio>=1.1
wmi = wmi>=1.5.1
+DOQ = aioquic>=0.9.20
[options.package_data]
dns = py.typed