New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
upgrade to pymongo 3.0 breaks pymongo connection #935
Comments
pymongo 3.0 has just been released and the latest version of pymongo is automatically installed when pip installing mongoengine. |
@thedrow @DavidBord I think you might need to release a 0.9.1 with a locked version of pymongo < 3.0 until a pymongo 3.0 compatible version is released. |
In the meantime please downgrade pymongo to 2.8:
|
I'm on it. |
You're on the 0.9.1 or on the compatibility fix? Else I could work on the 3.0 connection fix |
If you can work on the connection fix that would be best. |
OK, I did my best, it fixes this issue, but needs some more work on other points, #946 |
What about the 0.9.1 @thedrow ? |
thank you @rozza this downgrade worked perfectly |
PyMongo3 support was merged in master, you may use it directly or wait a bit of time for next mongoengine release |
error message as follows:
You can see the problem is in 'read_preference', which in mongnengine is False by default, which no longer is valid in pymongo.
The text was updated successfully, but these errors were encountered: