-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Pymongo3 compatibility #946
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
Merged
DavidBord
merged 30 commits into
MongoEngine:master
from
MRigal:fix/pymongo3-connection
May 11, 2015
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
a34fa74
fix connection problems with pymongo3 and added tests
MRigal 3b8f31c
fix problems with cursor arguments
MRigal 36eedc9
adapted index test to new explain output in pymongo3 and added commen…
MRigal 775c862
change to try to address issues due to new save() behaviour, not sati…
MRigal 46817ca
various unused imports removed (I am allergic)
MRigal ccbd128
first adaptations after comments and find-outs
MRigal c0f1493
fix revert situated at the wrong location
MRigal 48316ba
implemented global IS_PYMONGO_3
MRigal e803220
corrected and enhanced geo_index test
MRigal 3db896c
work-around for pymongo 3 bug
MRigal 0a65006
replaced find_and_modify by PyMongo3 equivalents
MRigal a5c2fc4
reinforced test for BinaryField being a Primary Key
MRigal 6ad9a56
corrected bad import preventing to run on PyMongo 2.X versions
MRigal f31f52f
corrected test condition, depending on mongodb and not pymongo version
MRigal c44891a
changed unittest to call for compatibility with Python 2.6
MRigal 33b1eed
corrected logical test for not Pymongo3 versions
MRigal 76adb13
Minor text and comments enhancements
MRigal c25619f
improved deprecation documentation and added warning when using snaps…
MRigal 3421fff
reactivated unnecessarily skipped test
MRigal 571a7dc
Fix last issue with binary field as primary key and skipped new test
MRigal 9b2fde9
added try except to geo test to catch random mongo internal errors
MRigal 3ab5ba6
added explicit warnings when calling methods having no effect anymore…
MRigal c5ed308
comments update after having tested PyMongo 3.0.1
MRigal f4478fc
removed sleep thanks to @seglberg suggestion
MRigal 1005c99
corrected index test for MongoDB 3+
MRigal c41dd64
corrected connection test for PyMongo3+
MRigal 14f82ea
enabled PYMONGO 3 and DEV for travis
MRigal d367089
author and changelog
MRigal f97db93
corrected test for MongoDB 2.X
MRigal 7941016
removed wire_concern usage and cosmetics
MRigal File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this code need to diverge across pymongo versions also?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, else it fails.