PYTHON-6006 Add MongoDB 9.0 to the Evergreen test matrix - #2986
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Contributor
There was a problem hiding this comment.
Pull request overview
Adds MongoDB 9.0 to PyMongo’s Evergreen CI matrix by extending the version list used by the config generator and regenerating the derived tasks.yml/variants.yml so a mongodb-v9.0 buildvariant and corresponding matrix tasks are available.
Changes:
- Added
"9.0"toALL_VERSIONSused by Evergreen config generation. - Regenerated Evergreen build variants and task definitions to include MongoDB 9.0 coverage.
- Updated the changelog with a MongoDB 9.0-related bullet (needs wording adjustment per review comment).
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
doc/changelog.rst |
Adds a MongoDB 9.0 bullet in the release notes (currently reads like a user-facing feature). |
.evergreen/scripts/generate_config_utils.py |
Extends the version list to include MongoDB 9.0 for config generation. |
.evergreen/generated_configs/variants.yml |
Adds the mongodb-v9.0 buildvariant and includes .server-9.0 selectors in relevant variants. |
.evergreen/generated_configs/tasks.yml |
Regenerated task matrix to include MongoDB 9.0 tasks (and associated rotations). |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
|
||
| PyMongo 4.18 brings a number of changes including: | ||
|
|
||
| - Added support for MongoDB 9.0. |
NoahStapp
approved these changes
Aug 13, 2026
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-6006
Changes in this PR
Added MongoDB 9.0 to the set of server versions tested in the Evergreen test matrix (
ALL_VERSIONSin.evergreen/scripts/generate_config_utils.py), following the same pattern used for the 8.0 release. Regenerated the Evergreen config files (tasks.yml,variants.yml) to include the newmongodb-v9.0variant and corresponding matrix tasks.Test Plan
just lintandjust typing, both pass.Checklist
Checklist for Author
Checklist for Reviewer