diff --git a/.gitignore b/.gitignore index 7d28fdd..8c9db52 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /requests-2.12.3.tar.gz +/requests-2.12.5.tar.gz diff --git a/python-requests-urllib3-at-1.19.1.patch b/python-requests-urllib3-at-1.19.1.patch index cb95a2f..ff00a47 100644 --- a/python-requests-urllib3-at-1.19.1.patch +++ b/python-requests-urllib3-at-1.19.1.patch @@ -1,11 +1,12 @@ ---- requests-2.12.1/setup.py.orig 2016-11-28 11:24:04.790302001 -0700 -+++ requests-2.12.1/setup.py 2016-11-28 11:25:22.002869906 -0700 -@@ -46,7 +46,7 @@ +diff -up requests-2.12.5/setup.py.orig requests-2.12.5/setup.py +--- requests-2.12.5/setup.py.orig 2018-04-05 09:51:52.038547006 -0600 ++++ requests-2.12.5/setup.py 2018-04-05 09:52:43.847287528 -0600 +@@ -46,7 +46,7 @@ packages = [ 'requests.packages.urllib3.packages.backports', ] -requires = [] +requires = ['urllib3>=1.19.1'] - test_requirements = ['pytest>=2.8.0', 'pytest-httpbin==0.0.7', 'pytest-cov'] + test_requirements = ['pytest>=2.8.0', 'pytest-httpbin==0.0.7', 'pytest-cov', 'pytest-mock'] with open('requests/__init__.py', 'r') as fd: diff --git a/python3-requests.spec b/python3-requests.spec index 5f59caa..c05f1de 100644 --- a/python3-requests.spec +++ b/python3-requests.spec @@ -1,7 +1,7 @@ %global urllib3_unbundled_version 1.19.1 Name: python3-requests -Version: 2.12.3 +Version: 2.12.5 Release: 1%{?dist} Summary: HTTP library, written in Python, for human beings @@ -80,7 +80,7 @@ ln -s ../../urllib3 %{buildroot}/%{python3_sitelib}/requests/packages/urllib3 ## The tests succeed if run locally, but fail in koji. ## They require an active network connection to query httpbin.org %check -#{__python3} setup.py test +#py.test-%{python3_version} -v # At very, very least, we'll try to start python and import requests PYTHONPATH=. %{__python3} -c "import requests" @@ -93,6 +93,9 @@ PYTHONPATH=. %{__python3} -c "import requests" %changelog +* Thu Apr 5 2018 Orion Poplwski - 2.12.5-1 +- Update to 2.12.5 + * Sun Dec 4 2016 Orion Poplwski - 2.12.3-1 - Update to 2.12.3 diff --git a/sources b/sources index ba7884b..41df91d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (requests-2.12.3.tar.gz) = 6ddd2b6ebea011c2fc3acffa2ba1de82c1c06a2b4bc3048bc05bcf186c64aac6fac5cabb2d20c2121b72776d9e771beb8d8c29f78a23ec1ff7064b865671332b +SHA512 (requests-2.12.5.tar.gz) = 4031bfe2a3b96ec4b7bf8ae7cb6a816c6eb802c5edebc2af5d9bcb4b5f292a1c1cb220d52f3e1eff4653b10a440e450736614dade1cf0d5dc6169e040aaead8d