Skip to content
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

Use MongoClient and MongoReplicaSetClient #17

wants to merge 4 commits into from


Copy link

@wsddn wsddn commented Dec 5, 2012

As of PyMongo 2.4 MongoClient and MongoReplicaSetClient are meant to be used instead of Connection and ReplicaSetConnection. This commit changes it. There is one problem, this won't work with PyMongo versions less than 2.4...

Copy link

@dcrosta dcrosta commented Dec 6, 2012

Thanks, I hadn't had time to review MongoClient yet.

We should update to require pymongo 2.4, and then clean out some of the support for older versions from (like the switch around auto_start_request, and anything else I'm forgetting).

Copy link

@akhenakh akhenakh commented Dec 13, 2012

Hey guys, you could maybe look at this ticket on gunicorn but related to flask-pymongo benoitc/gunicorn#450

tang0th added 3 commits Dec 13, 2012
Copy link
Contributor Author

@wsddn wsddn commented Dec 14, 2012

I've done a bit of housekeeping, so I've updated, removed some unneeded PyMongo stuff and updated the tests to reflect this. Hopefully this also solves benoitc/gunicorn#450 although this may need to be tested further.

@dcrosta dcrosta closed this in 632ff02 Dec 15, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.