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
While running the unit tests locally, I encountered the following error:
.venv/lib/python3.10/site-packages/astrapy/ids.py:19: in <module>
from bson.objectid import ObjectId # noqa: F401
ModuleNotFoundError: No module named 'bson.objectid'
It seems the code still requires the bson package, specifically for bson.objectid.ObjectId. However, I noticed that PR #3924 was created to remove it.
Could you clarify if bson should be re-added as a dependency, or if there’s an alternative approach to address this issue?
bson should be installed via pymongo, and it is explicitly recommended to not install bson from pypi:
Do not install the “bson” package from pypi. PyMongo comes with its own bson package; doing “pip install bson” or “easy_install bson” installs a third-party package that is incompatible with PyMongo.
Bug Description
Hello team,
While running the unit tests locally, I encountered the following error:
It seems the code still requires the bson package, specifically for bson.objectid.ObjectId. However, I noticed that PR #3924 was created to remove it.
Could you clarify if bson should be re-added as a dependency, or if there’s an alternative approach to address this issue?
Thank you!
Reproduction
make unit_tests
Expected behavior
I hope the unit tests run without errors.
Who can help?
@ogabrielluiz
@jordanrfrazier
Operating System
macos
Langflow Version
1.1.1
Python Version
3.12
Screenshot
Flow File
No response
The text was updated successfully, but these errors were encountered: