PYTHON-5454 & PYTHON-5455 Add preliminary python 3.14 support #2451
+2,182
−1,602
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-standard
was 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