Repository navigation
PYTHON-6138 Drop Python 3.9 and 3.10 Support - #3104
Merged
aclark4life merged 4 commits intoOct 9, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Evergreen still defaults and pins some jobs to Python 3.10, which conflicts with the new package requirement.
3 open findings
What changed in this PR
Raises PyMongo’s minimum supported runtime to Python 3.11 and aligns packaging, CI, Evergreen, and documentation.
Changes:
- Sets
requires-pythonto 3.11+ and regenerates dependencies. - Removes Python 3.9/3.10 from CI and distribution jobs.
- Updates Evergreen matrices and release documentation.
| File | Description |
|---|---|
README.md |
Updates supported versions. |
pyproject.toml |
Raises the Python floor and removes classifiers. |
uv.lock |
Regenerates dependencies for Python 3.11+. |
doc/changelog.rst |
Announces dropped runtime support. |
.github/workflows/uv-lock-update.yml |
Uses Python 3.11 for lock updates. |
.github/workflows/test-python.yml |
Updates test jobs to Python 3.11+. |
.github/workflows/sbom.yml |
Uses Python 3.11 for SBOM generation. |
.github/workflows/dist.yml |
Drops 3.9/3.10 wheel assertions. |
.evergreen/scripts/generate_config_utils.py |
Updates Evergreen interpreter matrices. |
.evergreen/generated_configs/tasks.yml |
Regenerates Evergreen tasks. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
aclark4life
force-pushed
the
PYTHON-6138-drop-py39-py310
branch
from
October 9, 2026 00:40
ef6ea65 to
df18ab2
Compare
aclark4life
marked this pull request as ready for review
October 9, 2026 00:57
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-6138
Changes in this PR
requires-pythonto>=3.11.CPYTHONSmatrix and 3.9/PyPy 3.9/PyPy 3.10 fromMIN_SUPPORT_VERSIONS..evergreen/generated_configs/.uv.lock.Test Plan
static,build,test_minimum,test_sdistjobs pass on 3.11.Checklist
Checklist for Author
Checklist for Reviewer