Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion requirements/extras/mongodb.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pymongo==4.15.3
pymongo==4.16.0
Copy link

Copilot AI Feb 5, 2026

Choose a reason for hiding this comment

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

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:

  1. Include corresponding code changes to remove/update the eventlet handling in kombu/transport/mongodb.py, or
  2. Be accompanied by documentation noting that eventlet is no longer supported with the MongoDB transport, or
  3. 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.

Suggested change
pymongo==4.16.0
pymongo<4.16.0

Copilot uses AI. Check for mistakes.
2 changes: 1 addition & 1 deletion requirements/funtest.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
redis>=4.5.2,!=5.0.2,!=4.5.5

# MongoDB transport
pymongo==4.15.3
pymongo==4.16.0

# Zookeeper transport
kazoo==2.10.0
Expand Down
Loading