MongoEngine / mongoengine

A Python Object-Document-Mapper for working with MongoDB
http://mongoengine.org
MIT License
4.26k stars 1.23k forks source link

Update to support pymongo 4.9 #2849

Closed efrederickson closed 2 months ago

efrederickson commented 2 months ago

Resolve issue where _check_name moved files between pymongo 4.8.0 and 4.9. This updates the import path. Also updated are other private members that the test rely on and a couple imports (database and mongo_client) that now must be explicitly declared.

The _check_name function can now be found here.

This closes #2847 and obsoletes #2848

bagerard commented 2 months ago

Awesome, thanks a lot for the contribution :+1: !

BalaRajendran commented 2 months ago

@bagerard @efrederickson When can we expect this release? In the meantime, should I scale down the MongoEngine version? Would be helpful for me?

bagerard commented 2 months ago

Got released as 0.29.1 here https://github.com/MongoEngine/mongoengine/releases/tag/v0.29.1

BalaRajendran commented 2 months ago

Cool! Thanks