PYTHON-5670 Restore minimal support for Python 3.9#2640
Merged
blink1073 merged 5 commits intomongodb:masterfrom Dec 16, 2025
Merged
PYTHON-5670 Restore minimal support for Python 3.9#2640blink1073 merged 5 commits intomongodb:masterfrom
blink1073 merged 5 commits intomongodb:masterfrom
Conversation
Jibola
requested changes
Dec 12, 2025
Contributor
Jibola
left a comment
There was a problem hiding this comment.
LGTM.
-> Do we need to test pypy3.10?
-> Bring back the drop 3.9 support ticket. (Just referencing this PR in it should suffice)
| ALL_VERSIONS = ["4.2", "4.4", "5.0", "6.0", "7.0", "8.0", "rapid", "latest"] | ||
| CPYTHONS = ["3.10", "3.11", "3.12", "3.13", "3.14t", "3.14"] | ||
| PYPYS = ["pypy3.11"] | ||
| MIN_SUPPORT_VERSIONS = ["3.9", "pypy3.9", "pypy3.10"] |
Contributor
There was a problem hiding this comment.
Do we need to test against pypy3.10 as well?
Member
Author
There was a problem hiding this comment.
It felt odd to leave it out, putting it in the bucket of EoL versions that should still work.
Jibola
approved these changes
Dec 16, 2025
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.
PYTHON-5670
Changes in this PR
Restores support for PyPy 3.9, PyPy 3.10, and Python 3.9.
Since all of these versions are EoL, we do not test against all scenarios.
Instead we test on
latestserver with the three standard combinations of topology, auth, and ssl.We only test on one platform.
Test Plan
Added a "Min Support RHEL8" variant with 9 tasks.
Passing build: https://spruce.mongodb.com/version/6938c98cb2efbb0007254ae8/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC
Checklist
Checklist for Author
Checklist for Reviewer