PYTHON-5454 & PYTHON-5455 Add preliminary python 3.14 support#2451
Merged
blink1073 merged 12 commits intomongodb:masterfrom Aug 5, 2025
Merged
PYTHON-5454 & PYTHON-5455 Add preliminary python 3.14 support#2451blink1073 merged 12 commits intomongodb:masterfrom
blink1073 merged 12 commits intomongodb:masterfrom
Conversation
Member
Author
|
I'll leave this in draft until we can test with mod_wsgi, which is being deployed to the toolchain now. |
NoahStapp
requested changes
Aug 5, 2025
| tasks = [".test-standard .standalone-noauth-nossl .python-3.9"] | ||
| expansions = dict(GREEN_FRAMEWORK=framework, AUTH="auth", SSL="ssl") | ||
| tasks = [".test-standard .standalone-noauth-nossl .python-3.9 .sync"] | ||
| expansions = dict(GREEN_FRAMEWORK=framework) |
Contributor
There was a problem hiding this comment.
Should we add a variant to test gevent with auth + ssl?
Member
Author
There was a problem hiding this comment.
NoahStapp
approved these changes
Aug 5, 2025
Contributor
NoahStapp
left a comment
There was a problem hiding this comment.
LGTM assuming tests pass!
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.
Patch build with all 3.14 tests: https://spruce.mongodb.com/version/688bc29c47b6a10007a2558a/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC (Note that this was prior to fixing gevent and mod_wsgi).
I also noticed that our
test-standardwas not comprehensive enough. It didn't give full coverage of python version + topology combinations, so gevent wasn't even tested on Python 3.14 initially.There were 202 specific tasks for Python 3.14. The total before and after with the changes are as follows:
Before: 1069 tasks across 67 build variants
After: 1200 tasks across 70 build variants