Skip to content
New issue

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

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

Already on GitHub? # to your account

Update default maxWireVersion #44

Open
ShaneHarvey opened this issue Oct 8, 2024 · 2 comments
Open

Update default maxWireVersion #44

ShaneHarvey opened this issue Oct 8, 2024 · 2 comments

Comments

@ShaneHarvey
Copy link
Collaborator

The current default maxWireVersion is 6 which represents the now EOL MongoDB 3.6. We should update the default to 25 which represents MongoDB 8.0.

@ShaneHarvey
Copy link
Collaborator Author

We could also use MAX_SUPPORTED_WIRE_VERSION or MIN_SUPPORTED_WIRE_VERSION from pymongo.common instead of hardcoding it.

@ShaneHarvey
Copy link
Collaborator Author

Note this is motivated by mongodb/mongo-python-driver#1905 because PyMongo is dropping support for MongoDB 3.6. We should implement and release this ticket before releasing the next version of pymongo otherwise pymongo won't be able to connect to MockupDB by default.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant