]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
DoQ packing and testing tweaks
authorBob Halley <halley@dnspython.org>
Thu, 24 Nov 2022 15:27:12 +0000 (07:27 -0800)
committerBob Halley <halley@dnspython.org>
Thu, 24 Nov 2022 15:27:12 +0000 (07:27 -0800)
.github/workflows/python-package.yml
README.md
pyproject.toml
setup.cfg

index 9dbf6c5944d9bff56b454ad44eb4e8ac15f49d88..cc5a368805a16001910935671825c0aaf12de1a1 100644 (file)
@@ -22,8 +22,10 @@ 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
@@ -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
index 1d36805051dd9dd854f6ec1e4a0552abbbcf321c..1906c15493878bc76129e6e189a59e4cc5e2c47b 100644 (file)
--- 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]`
 
index 5bc38270d9bec0620953e7d3b5a091fefe1b15d4..13f7803391c5dd961084b51f3798ff3c7db2b23e 100644 (file)
@@ -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"
index 2cb3e0680ba51c9a2f162ff78221af5b15a434c9..6fa2b87726bef8bee86aba80eb92b298b3ee613c 100644 (file)
--- 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