-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
py-requests: fix runtime incompatibility with urllib3 1.25
- Loading branch information
Showing
3 changed files
with
27 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- requests/__init__.py.orig 2019-04-24 18:12:42.000000000 +0300 | ||
+++ requests/__init__.py 2019-04-24 18:12:58.000000000 +0300 | ||
@@ -60,7 +60,7 @@ | ||
# urllib3 >= 1.21.1, <= 1.24 | ||
assert major == 1 | ||
assert minor >= 21 | ||
- assert minor <= 24 | ||
+ assert minor <= 25 | ||
|
||
# Check chardet for compatibility. | ||
major, minor, patch = chardet_version.split('.')[:3] |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- setup.py.orig 2019-04-24 18:12:00.000000000 +0300 | ||
+++ setup.py 2019-04-24 18:13:13.000000000 +0300 | ||
@@ -44,7 +44,7 @@ | ||
requires = [ | ||
'chardet>=3.0.2,<3.1.0', | ||
'idna>=2.5,<2.9', | ||
- 'urllib3>=1.21.1,<1.25', | ||
+ 'urllib3>=1.21.1,<=1.25', | ||
'certifi>=2017.4.17' | ||
|
||
] |