Skip to content

Commit 9c411fd

Browse files
committed
DoQ packing and testing tweaks
1 parent e0e0883 commit 9c411fd

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

.github/workflows/python-package.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,10 @@ jobs:
2222
fail-fast: false
2323
matrix:
2424
os: [ubuntu-latest, windows-latest]
25-
python-version: ["3.7","3.8","3.9","3.10"]
25+
python-version: ["3.7","3.8","3.9","3.10","3.11"]
2626
exclude:
27+
- os: windows-latest
28+
python-version: "3.10"
2729
- os: windows-latest
2830
python-version: "3.9"
2931
- os: windows-latest
@@ -41,8 +43,7 @@ jobs:
4143
run: |
4244
python -m pip install --upgrade pip
4345
python -m pip install poetry
44-
poetry install -E dnssec -E doh -E idna -E trio -E curio
45-
poetry add aioquic
46+
poetry install -E dnssec -E doh -E idna -E trio -E curio -E doq
4647
- name: Typecheck
4748
run: |
4849
poetry run python -m mypy --install-types --non-interactive --disallow-incomplete-defs dns

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ If you want to use WMI on Windows to determine the active DNS settings
7070
instead of the default registry scanning method, run
7171
`pip install dnspython[wmi]`.
7272

73+
If you want to try the experimental DNS-over-QUIC code, run
74+
`pip install dnspython[doq]`.
75+
7376
Note that you can install any combination of the above, e.g.:
7477
`pip install dnspython[doh,dnssec,idna]`
7578

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ trio = {version=">=0.14,<0.23", optional=true}
4949
curio = {version="^1.2", optional=true}
5050
sniffio = {version="^1.1", optional=true}
5151
wmi = {version="^1.5.1", optional=true}
52-
aioquic = {version="^0.9.20", optional=true}
52+
aioquic = {version=">=0.9.20", optional=true}
5353

5454
[tool.poetry.dev-dependencies]
5555
pytest = ">=5.4.1,<8"

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ DNSSEC = cryptography>=2.6
5555
trio = trio>=0.14.0
5656
curio = curio>=1.2; sniffio>=1.1
5757
wmi = wmi>=1.5.1
58+
DOQ = aioquic>=0.9.20
5859

5960
[options.package_data]
6061
dns = py.typed

0 commit comments

Comments
 (0)