chore: dependency refresh and compatibility/docs alignment (aiodns 4.x, tests, CI)
Merged
BL
22d ago+1514+1514+0123456789012345678901234567890123456789-1104-1104-0123456789012345678901234567890123456789
The current branch is broader than a docs-only uv sync fix. In addition to clarifying contributor setup, it includes dependency/packaging refresh work and compatibility fixes that affected runtime and tests.
-
Dependency and packaging refresh
- Updated dependency constraints in
pyproject.toml. - Regenerated
poetry.lock. - Synced package requirements in
setup.py(including removal ofsetup_requiresand updated test/runtime bounds).
- Updated dependency constraints in
-
Runtime compatibility fix
- Updated
proxybroker/resolver.pyto support bothaiodnsresolver APIs by usingquery_dnswhen available and falling back toquery.
- Updated
-
Test compatibility updates
- Updated resolver/proxy tests to patch the appropriate
aiodns.DNSResolvermethod dynamically (query_dnsvsquery). - Updated IPv4-mapped IPv6 expectations in provider/utils tests to align with canonicalized output behavior.
- Updated resolver/proxy tests to patch the appropriate
-
CI/docs/repo alignment
- Updated
.github/workflows/python-test-versions.ymlto rely on declared dev dependencies instead of ad-hoc Ruff installation. - Updated
README.mdguidance: Poetry remains canonical install path;uv syncis explicitly documented as unsupported with current Poetry-only metadata, whileuv run ...remains a supported command-runner workflow. - Updated
.gitignoreguidance foruv.lock.
- Updated
Scope summary: 11 files changed across workflow config, docs, dependency manifests/lockfile, resolver runtime logic, and related tests.