Merged
Conversation
Python 3.9 reached end of life in October 2025; remove it from the CI matrix, classifiers, python_requires, and ruff target. Bump pypy-3.9 to pypy-3.10 in the matrix.
Member
|
I'm for removing 3.9 if that keeps production and maintenance stable. Perhaps I should consider moving my current version of python from 3.10 to 3.11 and drop 3.9 on some of my own libraries that still support it. |
rodrigobnogueira
added a commit
to rodrigobnogueira/multidict
that referenced
this pull request
Apr 12, 2026
This commit temporarily includes the changes from PR aio-libs#1316 (Drop Python 3.9 support) so that cibuildwheel can pass on all platforms. Once aio-libs#1316 is merged into master, this PR will be rebased to contain only the free-threaded race condition fix.
array is not subscriptable at runtime until Python 3.12, so array[int] breaks 3.10 and 3.11. Revert to the original annotation. Also update vendored pythoncapi_compat.h and upgrade_pythoncapi.py from upstream with MIN_PYTHON set to (3, 10), and apply the Py_IsTrue modernization from the tool.
Codecov Report✅ All modified and coverable lines are covered by tests. ❌ Your project status has failed because the head coverage (96.96%) is below the target coverage (100.00%). You can increase the head coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## master #1316 +/- ##
=======================================
Coverage 97.60% 97.60%
=======================================
Files 26 26
Lines 3513 3513
Branches 253 253
=======================================
Hits 3429 3429
Misses 77 77
Partials 7 7
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What do these changes do?
Drops Python 3.9 from the CI matrix, classifiers,
python_requires, and the ruff target; bumps the PyPy matrix entry to pypy-3.10. Python 3.9 hit end of life in October 2025, so this removes a slot that no longer gets upstream fixes and trims the CI matrix (which has been timing out).Are there changes in behavior for the user?
Users on Python 3.9 will no longer receive new releases; minimum supported version is now Python 3.10.
Related issue number
Checklist