Skip to content

Commit 84a71e7

Browse files
committed
Set urllib3 upper version limit
Signed-off-by: Vadim Markovtsev <[email protected]>
1 parent 2b5edbf commit 84a71e7

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

requirements.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ numpy==1.14.0
44
scipy==1.0.0
55
clint==0.5.1
66
google-cloud-storage==1.2.0
7-
# requests should be before dulwich to avoid urllib3 version conflict
7+
# dulwich does not specify an upper version constraint for urllib3 and we may end up with a conflict otherwise
8+
urllib3<1.25
89
requests==2.21.0
910
dulwich==0.19.11
1011
jinja2==2.10.1

setup.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@
3131
"scipy>=1.0,<2.0",
3232
"clint>=0.5.0,<0.6",
3333
"google-cloud-storage>=1.2,<=1.2.0",
34-
# requests should be before dulwich to avoid urllib3 version conflict
34+
# dulwich does not specify an upper version constraint for urllib3
35+
# so we may end up with a conflict otherwise
36+
"urllib3<1.25",
3537
"requests>=2.0,<3.0",
3638
"dulwich>=0.19,<1.0",
3739
"jinja2>=2.10.1,<3.0",

0 commit comments

Comments
 (0)