Rebasing python-requests package
- Rebasing our python-requests patch to a newer version Change-Id: Ibad4135b814d6e4ff2e0e405c25507e77455fc95 Story: 2004765 Task: 28883 Depends-On: https://review.openstack.org/#/c/653086 Signed-off-by: Tyler Smith <tyler.smith@windriver.com>
This commit is contained in:
parent
9c8f0a8209
commit
d1005c01da
@ -11,12 +11,12 @@ diff --git a/SPECS/python-requests.spec b/SPECS/python-requests.spec
|
||||
index efe0966..111bab7 100644
|
||||
--- a/SPECS/python-requests.spec
|
||||
+++ b/SPECS/python-requests.spec
|
||||
@@ -11,7 +11,7 @@
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
Name: python-requests
|
||||
Version: 2.14.2
|
||||
-Release: 1%{?dist}
|
||||
+Release: 1.el7%{?_tis_dist}.%{tis_patch_ver}
|
||||
Version: 2.21.0
|
||||
-Release: 2%{?dist}
|
||||
+Release: 2.el7%{?_tis_dist}.%{tis_patch_ver}
|
||||
Summary: HTTP library, written in Python, for human beings
|
||||
|
||||
License: ASL 2.0
|
||||
|
@ -1,7 +1,7 @@
|
||||
From b99292ef32fdde60d2ec4181ee5963b93a97cdf2 Mon Sep 17 00:00:00 2001
|
||||
From: jmckenna <jason.mckenna@windriver.com>
|
||||
Date: Wed, 13 Dec 2017 09:02:40 -0500
|
||||
Subject: [PATCH 2/2] include patch for CGTS-2869
|
||||
Subject: [PATCH 2/2] include patch for error handling
|
||||
|
||||
---
|
||||
SPECS/python-requests.spec | 2 ++
|
||||
@ -12,10 +12,10 @@ index 111bab7..8aab964 100644
|
||||
--- a/SPECS/python-requests.spec
|
||||
+++ b/SPECS/python-requests.spec
|
||||
@@ -39,6 +39,8 @@ Patch2: python-requests-urllib3-at-%{urllib3_unbundled_version}.patch
|
||||
# a pretty odd one so this is a niche requirement.
|
||||
Patch3: requests-2.12.4-tests_nonet.patch
|
||||
|
||||
+Patch4: 0001-CGTS-2869-close-connection-on-HTTP-413-Request-Entit.patch
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1653223
|
||||
Patch5: requests-2.20.0-no-py2-httpbin.patch
|
||||
|
||||
+Patch6: 0001-close-connection-on-HTTP-413-Request-Entit.patch
|
||||
+
|
||||
BuildArch: noarch
|
||||
|
@ -1,2 +1,2 @@
|
||||
0001-Update-package-versioning-for-TIS-format.patch
|
||||
0002-include-patch-for-CGTS-2869.patch
|
||||
0002-include-patch-for-error-handling.patch
|
||||
|
@ -1,7 +1,7 @@
|
||||
From 268a1f179e554027637bd2951b24ad44ecb4a1ee Mon Sep 17 00:00:00 2001
|
||||
From: Daniel Badea <daniel.badea@windriver.com>
|
||||
Date: Wed, 7 Sep 2016 09:10:10 +0000
|
||||
Subject: [PATCH] CGTS-2869 close connection on HTTP 413 Request Entity Too
|
||||
Subject: [PATCH] close connection on HTTP 413 Request Entity Too
|
||||
Large
|
||||
|
||||
Allow low_conn to retrieve/handle unread response data buffers
|
||||
@ -15,7 +15,7 @@ diff --git a/requests/adapters.py b/requests/adapters.py
|
||||
index fd46325..087258a 100644
|
||||
--- a/requests/adapters.py
|
||||
+++ b/requests/adapters.py
|
||||
@@ -455,12 +455,18 @@ class HTTPAdapter(BaseAdapter):
|
||||
@@ -466,12 +466,18 @@ class HTTPAdapter(BaseAdapter):
|
||||
|
||||
low_conn.endheaders()
|
||||
|
@ -1 +1 @@
|
||||
mirror:Source/python-requests-2.14.2-1.el7.src.rpm
|
||||
mirror:Source/python-requests-2.21.0-2.el7.src.rpm
|
||||
|
Loading…
x
Reference in New Issue
Block a user