1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-25 12:12:34 +01:00

specify maximum versions for requests & urllib3 (#229)

Wouldn't be necessary if pip would do proper version management.
As things are right now, pip ignores the urllib3 version requirements
from requests because gallery-dl is specifying its own.
This commit is contained in:
Mike Fährmann 2019-04-29 17:22:40 +02:00
parent 76df628b13
commit df7cdb648a
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88
2 changed files with 4 additions and 4 deletions

View File

@ -1,2 +1,2 @@
requests>=2.11.0
urllib3>=1.16, !=1.24.1, !=1.24.2
requests>=2.11.0, <2.22.0
urllib3>=1.16, <1.25, !=1.24.1, !=1.24.2

View File

@ -102,8 +102,8 @@ setup(
license="GPLv2",
python_requires=">=3.4",
install_requires=[
"requests>=2.11.0",
"urllib3>=1.16, !=1.24.1, !=1.24.2",
"requests>=2.11.0, <2.22.0",
"urllib3>=1.16, <1.25, !=1.24.1, !=1.24.2",
],
packages=[
"gallery_dl",