-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PYTHON-3707 Drop support for Python 2.7, 3.4, 3.5, and 3.6 (#642)
- Loading branch information
1 parent
792beee
commit af95177
Showing
12 changed files
with
34 additions
and
111 deletions.
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
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
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 |
---|---|---|
@@ -1,12 +1,4 @@ | ||
pymongo[aws]>=3.11 | ||
# cffi==1.14.3 was the last installable release on RHEL 6.3 with Python 3.4 | ||
cffi==1.14.3;python_version=="3.4" | ||
cffi>=1.12.0,<2;python_version!="3.4" | ||
# We test PyPy on RHEL 6.2 which has OpenSSL 1.0.1e | ||
# Pin to cryptography 2.8.* until we figure our how to | ||
# install cryptography with PyPy with a newer OpenSSL. | ||
cryptography>=2,<2.9;platform_python_implementation=='PyPy' | ||
cryptography>=2;platform_python_implementation!='PyPy' | ||
mock;python_version=='2.7' | ||
six>=1.5;python_version=='2.7' | ||
requests_mock>=1.10 | ||
pymongo[aws]>=4 | ||
cffi>=1.12.0,<2 | ||
cryptography>=2 | ||
requests_mock>=1.10 |
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 |
---|---|---|
|
@@ -137,11 +137,11 @@ def test_mongocrypt_options_validation(self): | |
MongoCryptOptions(invalid_kms_providers) | ||
with self.assertRaisesRegex( | ||
TypeError, r"kms_providers\['local'\]\['key'\] must be an " | ||
r"instance of bytes or str \(unicode in Python 2\)"): | ||
r"instance of bytes or str"): | ||
MongoCryptOptions({'local': {'key': None}}) | ||
with self.assertRaisesRegex( | ||
TypeError, r"kms_providers\['gcp'\]\['privateKey'\] must be an " | ||
r"instance of bytes or str \(unicode in Python 2\)"): | ||
r"instance of bytes or str"): | ||
MongoCryptOptions({'gcp': {'email': "[email protected]", | ||
"privateKey": None}}) | ||
|
||
|