Skip to content

Commit feddfc6

Browse files
committed
fix: resolve urllib3 compatiblily
urllib3 1.25 introduce some incompatible changes.
1 parent 53e1fa0 commit feddfc6

3 files changed

Lines changed: 19 additions & 15 deletions

File tree

Pipfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ arrow = "*"
1919
"iso8601" = "*"
2020
six = ">=1.11.0"
2121
qiniu = ">=7.1.4,<7.2.4"
22-
requests = ">=2.22.0"
22+
"urllib3" = ">=1.24.3,<1.25.0"
23+
requests = ">=2.20.0,<2.22.0"
2324
werkzeug = "*"
2425
gevent = ">=1.0.2,<2.0.0"
2526
typing = { version = "*", markers = "python_version < '3.5.0'" }

Pipfile.lock

Lines changed: 15 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
'iso8601',
1111
'six>=1.11.0',
1212
'qiniu>=7.1.4,<7.2.4',
13-
'requests>=2.12.1',
13+
'requests>=2.20.0,<2.22.0',
14+
'urllib3>=1.24.3,<1.25.0'
1415
'werkzeug',
1516
'gevent>=1.0.2,<2.0.0'
1617
]

0 commit comments

Comments
 (0)