Skip to content

Conversation

ChillerDragon
Copy link

This mix of an issue and a pullrequest. This pr ensures a simple install and import of this package does not fail.

Which sadly currently it does:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/runner/work/MongoDBProxy/MongoDBProxy/mongo_proxy/__init__.py", line 1, in <module>
    from .mongodb_proxy import MongoProxy
  File "/home/runner/work/MongoDBProxy/MongoDBProxy/mongo_proxy/mongodb_proxy.py", line 58, in <module>
    from pymongo import Connection, ReplicaSetConnection
ImportError: cannot import name 'Connection' from 'pymongo' (/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pymongo/__init__.py)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant