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.
pull/243/head
Mike Fährmann 5 years ago
parent 76df628b13
commit df7cdb648a
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

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

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

Loading…
Cancel
Save