Closed tonal closed 6 years ago
This is shown only when connecting to mongo with authorization
conf = dict(
mongodb= dict(
uri='mongodb://USER:PASSWORD@localhost:27017/remains',
db='remains'))
conn = yield ConnectionPool(conf['mongodb']['uri'])
mdb = conn[conf['mongodb']['db']]
when
We are using pymongo's internal function to check command result: pymongo.helpers._check_command_response
. Seems like they changed it's behavior in 3.7... It is perfectly fine on their side since this function is not public.
We are probably need to copy&paste such pymongo's private functions instead of just importing them because this is not the first time it is breaking.
grumble
Trying to fix this in #233
Fixed by #233
After upgrade pymongo to 3.7.0 break TxMongo
After downgrade pymongo to 3.6.1 - work Ok.