Conversation
Bumps [pymongo](https://github.com/mongodb/mongo-python-driver) from 4.15.3 to 4.16.0. - [Release notes](https://github.com/mongodb/mongo-python-driver/releases) - [Changelog](https://github.com/mongodb/mongo-python-driver/blob/master/doc/changelog.rst) - [Commits](mongodb/mongo-python-driver@4.15.3...4.16.0) --- updated-dependencies: - dependency-name: pymongo dependency-version: 4.16.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2453 +/- ##
=======================================
Coverage 81.13% 81.13%
=======================================
Files 77 77
Lines 9774 9774
Branches 1104 1104
=======================================
Hits 7930 7930
Misses 1636 1636
Partials 208 208 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Pull request overview
This PR bumps the pymongo dependency from version 4.15.3 to 4.16.0. The upgrade includes several changes outlined in the PyMongo 4.16.0 changelog, most notably the removal of Eventlet support, a new minimum requirement for dnspython>=2.6.1, and various bug fixes and improvements.
Changes:
- Updated pymongo version constraint from 4.15.3 to 4.16.0 in functional test requirements
- Updated pymongo version constraint from 4.15.3 to 4.16.0 in MongoDB extras requirements
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| requirements/funtest.txt | Updates pymongo version used in functional tests |
| requirements/extras/mongodb.txt | Updates pymongo version for MongoDB transport optional dependency |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| @@ -1 +1 @@ | |||
| pymongo==4.15.3 | |||
| pymongo==4.16.0 | |||
There was a problem hiding this comment.
This version bump introduces a breaking change: PyMongo 4.16.0 has removed support for Eventlet according to the changelog: "Removed support for Eventlet. Eventlet is actively being sunset by its maintainers and has compatibility issues with PyMongo's dnspython dependency."
However, the kombu MongoDB transport code at kombu/transport/mongodb.py:371-373 still includes eventlet detection and monkey patching logic that will no longer work with this version of pymongo. If users attempt to use the MongoDB transport with eventlet, they may encounter compatibility issues or unexpected behavior.
This upgrade should either:
- Include corresponding code changes to remove/update the eventlet handling in kombu/transport/mongodb.py, or
- Be accompanied by documentation noting that eventlet is no longer supported with the MongoDB transport, or
- Be deferred until the eventlet compatibility can be properly addressed.
Additionally, PyMongo 4.16.0 now requires dnspython>=2.6.1 as a dependency, which should be verified to not conflict with other dependencies in the project.
| pymongo==4.16.0 | |
| pymongo<4.16.0 |
auvipy
left a comment
There was a problem hiding this comment.
want to cross check properly before merging this. there are some BC issues
Bumps pymongo from 4.15.3 to 4.16.0.
Release notes
Sourced from pymongo's releases.
Changelog
Sourced from pymongo's changelog.
Commits
3290101Prepare 4.16.0 release (#2672)1be94d2PYTHON-5685 Fix unified spec sync metadata for csot and sessions tests (#2669)6585d9cPYTHON-2442: Refactor: use _asdict() in _options_dict() (#2670)fdb1f7ePYTHON-5677 Prevent ClientEncryption from loading crypt shared library (#2659)0cd9763Bump zizmorcore/zizmor-action from cb3d8e846e148d1111d90b03375b9c03deceda37 t...2f263d4PYTHON-5680 Fix handling of expectedDocuments in Unified Test Runner (#2665)e9658b2Add 4.15.5 release date to changelog (#2666)10dd204Update coverage[toml] requirement from <=7.10.6,>=5 to >=5,<=7.10.7 (#2662)1300677[Spec Resync] 12-22-2025 (#2663)18c1f14PYTHON-5529 Introduce optin setting to await for MinPoolSize population (#2664)You can trigger a rebase of this PR by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)