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
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
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]`
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"
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