Open benoit74 opened 1 year ago
And I can definitely help on this change. We will probably do it anyway, it just makes a little more sense to me to help enhance existing stuff if there is any interest rather than create "yet another thing".
Hi @Parkayun, I'm the current lead of the PyMongo team. We have seen several cases where users are trying to install both PyMongo and bson, sometimes unintentionally, and getting import errors since the submodules differ. Would you consider one of the following paths forward?
Current implementation seems to be fairly different than the one from Mongo at https://github.com/mongodb/mongo-python-driver
Is there any reason for this difference ? I checked their code and found no dependencies between the
bson
package and other packages in their repo.Would it make sense that we automate something like this:
bson
package in this repopymongo
, with version number in line with the one of mongoThis would have many benefits:
bson
package already disseminated on the netpymongo
in multiple projects just because we needbson
to properly handledatetime
serialization for instance)WDYT?