From 142e0f8f90a8c29a77b85c0c1303afdef635b32f Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: May 03 2016 15:08:08 +0000 Subject: 2.10.0 --- diff --git a/python-requests-urllib3-at-1.13.1.patch b/python-requests-urllib3-at-1.13.1.patch deleted file mode 100644 index d7d7872..0000000 --- a/python-requests-urllib3-at-1.13.1.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 8851de5ac8dabd6431328ecbe614e5e78d994ccd Mon Sep 17 00:00:00 2001 -From: Ralph Bean -Date: Sat, 10 Oct 2015 14:39:19 -0400 -Subject: [PATCH] Pin urllib3 to 1.10.4. - ---- - setup.py | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/setup.py b/setup.py -index f98f528..77a370c 100755 ---- a/setup.py -+++ b/setup.py -@@ -26,7 +26,9 @@ packages = [ - 'requests.packages.urllib3.packages.ssl_match_hostname', - ] - --requires = [] -+requires = [ -+ 'urllib3==1.13.1', -+] - - version = '' - with open('requests/__init__.py', 'r') as fd: --- -2.4.3 - diff --git a/python-requests-urllib3-at-1.15.1.patch b/python-requests-urllib3-at-1.15.1.patch new file mode 100644 index 0000000..91a6731 --- /dev/null +++ b/python-requests-urllib3-at-1.15.1.patch @@ -0,0 +1,27 @@ +From 3ef00c66939e0b6d2d95756f73c1d2fe716ddf40 Mon Sep 17 00:00:00 2001 +From: Ralph Bean +Date: Tue, 3 May 2016 10:56:53 -0400 +Subject: [PATCH] Pin urllib3 to 1.15.1 + +--- + setup.py | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/setup.py b/setup.py +index 3a39052..662e0ef 100755 +--- a/setup.py ++++ b/setup.py +@@ -44,7 +44,9 @@ packages = [ + 'requests.packages.urllib3.packages.ssl_match_hostname', + ] + +-requires = [] ++requires = [ ++ 'urllib3==1.15.1', ++] + test_requirements = ['pytest>=2.8.0', 'pytest-httpbin==0.0.7', 'pytest-cov'] + + with open('requests/__init__.py', 'r') as fd: +-- +2.5.5 + diff --git a/python-requests.spec b/python-requests.spec index 89bb8e1..e913a76 100644 --- a/python-requests.spec +++ b/python-requests.spec @@ -7,16 +7,16 @@ %{!?python3_pkgversion: %global python3_pkgversion 34} %endif -%global urllib3_unbundled_version 1.13.1 +%global urllib3_unbundled_version 1.15.1 Name: python-requests -Version: 2.9.1 -Release: 3%{?dist} +Version: 2.10.0 +Release: 1%{?dist} Summary: HTTP library, written in Python, for human beings License: ASL 2.0 -URL: http://pypi.python.org/pypi/requests -Source0: http://pypi.python.org/packages/source/r/requests/requests-%{version}.tar.gz +URL: https://pypi.io/project/requests +Source0: https://pypi.io/packages/source/r/requests/requests-%{version}.tar.gz # Explicitly use the system certificates in ca-certificates. # https://bugzilla.redhat.com/show_bug.cgi?id=904614 Patch0: python-requests-system-cert-bundle.patch