python-requests/requests-no-hardcoded-version.patch

24 lines
594 B
Diff
Raw Normal View History

Index: requests-2.22.0/setup.py
===================================================================
--- requests-2.22.0.orig/setup.py
+++ requests-2.22.0/setup.py
@@ -42,14 +42,14 @@ if sys.argv[-1] == 'publish':
packages = ['requests']
requires = [
- 'chardet>=3.0.2,<3.1.0',
- 'idna>=2.5,<2.9',
- 'urllib3>=1.21.1,<1.26,!=1.25.0,!=1.25.1',
+ 'chardet>=3.0.2',
+ 'idna>=2.5',
+ 'urllib3>=1.21.1',
'certifi>=2017.4.17'
]
test_requirements = [
- 'pytest-httpbin==0.0.7',
+ 'pytest-httpbin>=0.0.7',
'pytest-cov',
'pytest-mock',
'pytest-xdist',