◐ Shell
clean mode source ↗

feat: drop Python 3.9 support by bdraco · Pull Request #1688 · python-zeroconf/python-zeroconf

@bdraco

Bumps requires-python to >=3.10 and drops 3.9 / pypy-3.9 from the CI matrix. Knock-on cleanups from pyupgrade --py310-plus and ruff target-version = "py310"; moves Callable imports to collections.abc, rewrites the two module-level Union[...] aliases in _cache.py and _utils/net.py as PEP 604 unions. Cython rebuild and full test suite are clean locally.

@codspeed-hq

Merging this PR will not alter performance

✅ 6 untouched benchmarks


Comparing drop-python-3.9 (9da4dff) with master (9138f32)1

Open in CodSpeed

Footnotes

  1. No successful run was found on master (c96a997) during the generation of this report, so 9138f32 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

@codecov

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.76%. Comparing base (9138f32) to head (9da4dff).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1688   +/-   ##
=======================================
  Coverage   99.76%   99.76%           
=======================================
  Files          33       33           
  Lines        3407     3410    +3     
  Branches      463      464    +1     
=======================================
+ Hits         3399     3402    +3     
  Misses          5        5           
  Partials        3        3           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@bdraco bdraco marked this pull request as ready for review

May 16, 2026 20:25

@bdraco bdraco deleted the drop-python-3.9 branch

May 16, 2026 21:49

This was referenced

May 16, 2026