python-requests/requests-no-hardcoded-version.patch
Tomáš Chvátal 29cefd379a - Update to 2.22.0:
* Requests now supports urllib3 v1.25.2. (note: 1.25.0 and 1.25.1 are incompatible)
- Rebase requests-no-hardcoded-version.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=130
2019-05-25 08:45:30 +00:00

24 lines
594 B
Diff

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',