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
MOTOR-941 Bump pymongo requirement to 4 #161
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains 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 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,8 +3,8 @@ Requirements | |
|
||
The current version of Motor requires: | ||
|
||
* CPython 3.5 and later. | ||
* PyMongo_ 3.12 and later. | ||
* CPython 3.7 and later. | ||
* PyMongo_ 4.0 and later. | ||
|
||
Motor can integrate with either Tornado or asyncio. | ||
|
||
|
@@ -47,6 +47,8 @@ Motor and PyMongo | |
+-------------------+-----------------+ | ||
| 2.5 | 3.12+ | | ||
+-------------------+-----------------+ | ||
| 3.0 | 4.0+ | | ||
+-------------------+-----------------+ | ||
|
||
Motor and MongoDB | ||
````````````````` | ||
|
@@ -76,6 +78,8 @@ Motor and MongoDB | |
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+ | ||
| | 2.5 |**N**|**N**|**N**| Y | Y | Y | Y | Y | Y | Y | Y | | ||
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+ | ||
| | 3.0 |**N**|**N**|**N**|**N**|**N**|**N**| Y | Y | Y | Y | Y | | ||
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+ | ||
|
||
There is no relationship between PyMongo and MongoDB version numbers, although | ||
the numbers happen to be close or equal in recent releases of PyMongo and MongoDB. | ||
|
@@ -112,6 +116,8 @@ known to be incompatible, or have not been tested together. | |
+---------------+-----+-----+-----+-----+-----+ | ||
| | 2.3 |**N**|**N**| Y | Y | | ||
+---------------+-----+-----+-----+-----+-----+ | ||
| | 3.0 |**N**|**N**|**N**| Y | | ||
+---------------+-----+-----+-----+-----+-----+ | ||
|
||
Motor and Python | ||
```````````````` | ||
|
@@ -121,34 +127,41 @@ the "async for" protocol implemented in Python 3.5.0 and 3.5.1. Motor continues | |
to work with "async for" loops in Python 3.5.2 and later. | ||
|
||
Motor 1.2.5 and 1.3.1 add compatibility with Python 3.7, but at the cost of | ||
dropping Python 3.4.3 and older. Motor 2.2 dropped support for Pythons older | ||
than 3.5.2. Motor 2.5 deprecates support for Python 3.5. | ||
|
||
+-------------------------------------------------------------------------------------------+ | ||
| Python Version | | ||
+=====================+=====+=====+=====+=====+=====+=======+=======+=====+=====+=====+=====+ | ||
| | 2.5 | 2.6 | 2.7 | 3.3 | 3.4 | 3.5.0 | 3.5.2 | 3.6 | 3.7 | 3.8 | 3.9 | | ||
+---------------+-----+-----+-----+-----+-----+-----+-------+-------+-----+-----+-----+-----+ | ||
| Motor Version | 1.0 |**N**| Y | Y | Y | Y | Y | Y | Y |**N**|**N**|**N**| | ||
+---------------+-----+-----+-----+-----+-----+-----+-------+-------+-----+-----+-----+-----+ | ||
| | 1.1 |**N**| Y | Y | Y | Y | Y | Y | Y |**N**|**N**|**N**| | ||
+---------------+-----+-----+-----+-----+-----+-----+-------+-------+-----+-----+-----+-----+ | ||
| | 1.2 |**N**|**N**| Y |**N**| Y |**N** | Y | Y | Y |**N**|**N**| | ||
+---------------+-----+-----+-----+-----+-----+-----+-------+-------+-----+-----+-----+-----+ | ||
| | 1.3 |**N**|**N**| Y |**N**| Y |**N** | Y | Y | Y |**N**|**N**| | ||
+---------------+-----+-----+-----+-----+-----+-----+-------+-------+-----+-----+-----+-----+ | ||
| | 2.0 |**N**|**N**| Y |**N**| Y |**N** | Y | Y | Y |**N**|**N**| | ||
+---------------+-----+-----+-----+-----+-----+-----+-------+-------+-----+-----+-----+-----+ | ||
| | 2.1 |**N**|**N**| Y |**N**| Y |**N** | Y | Y | Y | Y |**N**| | ||
+---------------+-----+-----+-----+-----+-----+-----+-------+-------+-----+-----+-----+-----+ | ||
| | 2.2 |**N**|**N**|**N**|**N**|**N**|**N** | Y | Y | Y | Y |**N**| | ||
+---------------+-----+-----+-----+-----+-----+-----+-------+-------+-----+-----+-----+-----+ | ||
| | 2.3 |**N**|**N**|**N**|**N**|**N**|**N** | Y | Y | Y | Y |**N**| | ||
+---------------+-----+-----+-----+-----+-----+-----+-------+-------+-----+-----+-----+-----+ | ||
| | 2.4 |**N**|**N**|**N**|**N**|**N**|**N** | Y | Y | Y | Y | Y | | ||
+---------------+-----+-----+-----+-----+-----+-----+-------+-------+-----+-----+-----+-----+ | ||
| | 2.5 |**N**|**N**|**N**|**N**|**N**|**N** | Y | Y | Y | Y | Y | | ||
+---------------+-----+-----+-----+-----+-----+-----+-------+-------+-----+-----+-----+-----+ | ||
dropping Python 3.4.3 and older. | ||
|
||
Motor 2.2 dropped support for Pythons older than 3.5.2. | ||
|
||
Motor 2.5 deprecated support for Python 3.5. | ||
|
||
Motor 3.0 dropped support for Pythons older than 3.7. | ||
|
||
+-------------------------------------------------------------------------------------+ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This table doesn't render correctly anymore: https://motor--161.org.readthedocs.build/en/161/requirements.html#motor-and-python There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed |
||
| Python Version | | ||
+=====================+=====+=====+=====+=======+=======+=====+=====+=====+=====+=====+ | ||
| | 2.7 | 3.3 | 3.4 | 3.5.0 | 3.5.2 | 3.6 | 3.7 | 3.8 | 3.9 | 3.10| | ||
+---------------+-----+-----+-----+-----+-------+-------+-----+-----+-----+-----+-----+ | ||
| Motor Version | 1.0 | Y | Y | Y | Y | Y | Y |**N**|**N**|**N**|**N**| | ||
+---------------+-----+-----+-----+-----+-------+-------+-----+-----+-----+-----+-----+ | ||
| | 1.1 | Y | Y | Y | Y | Y | Y |**N**|**N**|**N**|**N**| | ||
+---------------+-----+-----+-----+-----+-------+-------+-----+-----+-----+-----+-----+ | ||
| | 1.2 | Y |**N**| Y |**N** | Y | Y | Y |**N**|**N**|**N**| | ||
+---------------+-----+-----+-----+-----+-------+-------+-----+-----+-----+-----+-----+ | ||
| | 1.3 | Y |**N**| Y |**N** | Y | Y | Y |**N**|**N**|**N**| | ||
+---------------+-----+-----+-----+-----+-------+-------+-----+-----+-----+-----+-----+ | ||
| | 2.0 | Y |**N**| Y |**N** | Y | Y | Y |**N**|**N**|**N**| | ||
+---------------+-----+-----+-----+-----+-------+-------+-----+-----+-----+-----+-----+ | ||
| | 2.1 | Y |**N**| Y |**N** | Y | Y | Y | Y |**N**|**N**| | ||
+---------------+-----+-----+-----+-----+-------+-------+-----+-----+-----+-----+-----+ | ||
| | 2.2 |**N**|**N**|**N**|**N** | Y | Y | Y | Y |**N**|**N**| | ||
+---------------+-----+-----+-----+-----+-------+-------+-----+-----+-----+-----+-----+ | ||
| | 2.3 |**N**|**N**|**N**|**N** | Y | Y | Y | Y |**N**|**N**| | ||
+---------------+-----+-----+-----+-----+-------+-------+-----+-----+-----+-----+-----+ | ||
| | 2.4 |**N**|**N**|**N**|**N** | Y | Y | Y | Y | Y |**N**| | ||
+---------------+-----+-----+-----+-----+-------+-------+-----+-----+-----+-----+-----+ | ||
| | 2.5 |**N**|**N**|**N**|**N** | Y | Y | Y | Y | Y | Y | | ||
+---------------+-----+-----+-----+-----+-------+-------+-----+-----+-----+-----+-----+ | ||
| | 3.0 |**N**|**N**|**N**|**N** |**N** |**N**| Y | Y | Y | Y | | ||
+---------------+-----+-----+-----+-----+-------+-------+-----+-----+-----+-----+-----+ | ||
|
||
Not Supported | ||
------------- | ||
|
This file contains 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
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.
Let's add 3.0 to this "Motor and MongoDB" table too.
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.
Done