You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently have been updating my software to support pydantic 2+ (Yes, I realized I'm slow). Everything seem to be working fine but then I was unable to support my local database.
The code works perfectly find with a MongoDB test database server on mongo.com with MongoDB version of 7.0.3.
I updated pymongo to v4.8.0, motor to v3.5.1, and beanie to v1.26.0.
It could be that the version of the mongo daemon that I'm running locally is too outdated, but the documentation for pymongo suggests that v5.0.3 is supported. Using mongo CLI, I had no issue accessing the database so this might simply be stupid compatibility issue.
Any thoughts? I was thinking of updating my mongo client first, but worry this might break things.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I recently have been updating my software to support
pydantic
2+ (Yes, I realized I'm slow). Everything seem to be working fine but then I was unable to support my local database.I received the following error:
The code works perfectly find with a MongoDB test database server on mongo.com with MongoDB version of 7.0.3.
I updated
pymongo
to v4.8.0,motor
to v3.5.1, andbeanie
to v1.26.0.It could be that the version of the
mongo
daemon that I'm running locally is too outdated, but the documentation forpymongo
suggests thatv5.0.3
is supported. Usingmongo
CLI, I had no issue accessing the database so this might simply be stupid compatibility issue.Any thoughts? I was thinking of updating my
mongo
client first, but worry this might break things.Beta Was this translation helpful? Give feedback.
All reactions