Skip to content

Update deprecated syntax of pymongo #1993

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 6 commits into from

Conversation

xxxwarrior
Copy link

There's no longer 'Connection()' attribute in "pymongo".
Although there's "pymongo==2.4.1" in requirements, it cannot be installed due to the changes in later versions of "setuptools".

In my local repository, I used the connection string for my own MongoDB Atlas. I'm pretty sure, the URI for your db should be in some other place, not in this file.
Also, to use mongodb+srv:// URIs "dnspython" module must be installed, might change the requirement file for that.

@ElLorans
Copy link
Contributor

ElLorans commented Jun 3, 2025

Thanks for the nice work! Unfortunately this is being superseded by #2611 but maybe you can help with your expertise there?

@ElLorans ElLorans closed this Jun 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants