summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Withers <chris@withers.org>2020-02-18 14:58:27 +0000
committerGitHub <noreply@github.com>2020-02-18 08:58:27 -0600
commitc46f55bd48dabc02f033d252f8c64e2011f37361 (patch)
treec0394e9c98899c2bb6cb1b36dfef77260de3b9a7
parente11302018b72679505503241c9276a46c163e14a (diff)
downloadpython-requests-c46f55bd48dabc02f033d252f8c64e2011f37361.tar.gz
Limit dependencies to major instead of minor (#5342)
-rwxr-xr-xsetup.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/setup.py b/setup.py
index 57035333..2da9ba07 100755
--- a/setup.py
+++ b/setup.py
@@ -42,8 +42,8 @@ if sys.argv[-1] == 'publish':
packages = ['requests']
requires = [
- 'chardet>=3.0.2,<3.1.0',
- 'idna>=2.5,<2.9',
+ 'chardet>=3.0.2,<4',
+ 'idna>=2.5,<3',
'urllib3>=1.21.1,<1.26,!=1.25.0,!=1.25.1',
'certifi>=2017.4.17'
@@ -102,7 +102,7 @@ setup(
cmdclass={'test': PyTest},
tests_require=test_requirements,
extras_require={
- 'security': ['pyOpenSSL >= 0.14', 'cryptography>=1.3.4', 'idna>=2.0.0'],
+ 'security': ['pyOpenSSL >= 0.14', 'cryptography>=1.3.4'],
'socks': ['PySocks>=1.5.6, !=1.5.7'],
'socks:sys_platform == "win32" and python_version == "2.7"': ['win_inet_pton'],
},