This commit is contained in:
Ralph Bean 2016-05-03 11:08:08 -04:00
parent 113881e373
commit 142e0f8f90
2 changed files with 13 additions and 13 deletions

View File

@ -1,27 +1,27 @@
From 8851de5ac8dabd6431328ecbe614e5e78d994ccd Mon Sep 17 00:00:00 2001
From 3ef00c66939e0b6d2d95756f73c1d2fe716ddf40 Mon Sep 17 00:00:00 2001
From: Ralph Bean <rbean@redhat.com>
Date: Sat, 10 Oct 2015 14:39:19 -0400
Subject: [PATCH] Pin urllib3 to 1.10.4.
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 f98f528..77a370c 100755
index 3a39052..662e0ef 100755
--- a/setup.py
+++ b/setup.py
@@ -26,7 +26,9 @@ packages = [
@@ -44,7 +44,9 @@ packages = [
'requests.packages.urllib3.packages.ssl_match_hostname',
]
-requires = []
+requires = [
+ 'urllib3==1.13.1',
+ 'urllib3==1.15.1',
+]
test_requirements = ['pytest>=2.8.0', 'pytest-httpbin==0.0.7', 'pytest-cov']
version = ''
with open('requests/__init__.py', 'r') as fd:
--
2.4.3
2.5.5

View File

@ -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