Skip to content

PYTHON-5454 & PYTHON-5455 Add preliminary python 3.14 support #2451

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Aug 5, 2025

Conversation

blink1073
Copy link
Member

@blink1073 blink1073 commented Jul 31, 2025

  • Add 3.14 to test matrix
  • Update free-threading tests to use 3.14t
  • Update changelog with level of support
  • Update the lock file to pick up a newer version of pymongocrypt dev

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

@blink1073
Copy link
Member Author

I'll leave this in draft until we can test with mod_wsgi, which is being deployed to the toolchain now.

@blink1073 blink1073 requested a review from NoahStapp August 5, 2025 16:57
@blink1073 blink1073 marked this pull request as ready for review August 5, 2025 16:57
@blink1073 blink1073 requested a review from a team as a code owner August 5, 2025 16:57
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)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we add a variant to test gevent with auth + ssl?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@blink1073 blink1073 requested a review from NoahStapp August 5, 2025 17:27
Copy link
Contributor

@NoahStapp NoahStapp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM assuming tests pass!

@blink1073 blink1073 merged commit d7074ba into mongodb:master Aug 5, 2025
76 of 79 checks passed
@blink1073 blink1073 deleted the partial-314-support branch August 5, 2025 18:01
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.

2 participants