Skip to content

feat: drop Python 3.9 support#1688

Merged
bdraco merged 1 commit into
masterfrom
drop-python-3.9
May 16, 2026
Merged

feat: drop Python 3.9 support#1688
bdraco merged 1 commit into
masterfrom
drop-python-3.9

Conversation

@bdraco
Copy link
Copy Markdown
Member

@bdraco bdraco commented May 16, 2026

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
Copy link
Copy Markdown

codspeed-hq Bot commented May 16, 2026

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
Copy link
Copy Markdown

codecov Bot commented May 16, 2026

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 merged commit 327b93d into master May 16, 2026
37 checks passed
@bdraco bdraco deleted the drop-python-3.9 branch May 16, 2026 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant