diff --git a/patch-requests-certs.py-to-use-the-system-CA-bundle.patch b/patch-requests-certs.py-to-use-the-system-CA-bundle.patch index 1e06ead..df1132e 100644 --- a/patch-requests-certs.py-to-use-the-system-CA-bundle.patch +++ b/patch-requests-certs.py-to-use-the-system-CA-bundle.patch @@ -1,4 +1,4 @@ -From 5bce3f425c5bd59dccdd054f7f27baceb3cf3fb4 Mon Sep 17 00:00:00 2001 +From fd9ab446d8479360d2c1c8252508d97d58ed3e0e Mon Sep 17 00:00:00 2001 From: Jeremy Cline Date: Mon, 19 Jun 2017 16:09:02 -0400 Subject: [PATCH] Patch requests/certs.py to use the system CA bundle @@ -6,7 +6,8 @@ Subject: [PATCH] Patch requests/certs.py to use the system CA bundle Signed-off-by: Jeremy Cline --- requests/certs.py | 11 ++++++++++- - 1 file changed, 10 insertions(+), 1 deletion(-) + setup.py | 1 - + 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/requests/certs.py b/requests/certs.py index d1a378d..7b103ba 100644 @@ -31,6 +32,18 @@ index d1a378d..7b103ba 100644 if __name__ == '__main__': print(where()) +diff --git a/setup.py b/setup.py +index 93a8507..2db9569 100755 +--- a/setup.py ++++ b/setup.py +@@ -45,7 +45,6 @@ requires = [ + 'chardet>=3.0.2,<3.1.0', + 'idna>=2.5,<2.6', + 'urllib3>=1.21.1,<1.22', +- 'certifi>=2017.4.17' + + ] + test_requirements = ['pytest-httpbin==0.0.7', 'pytest-cov', 'pytest-mock', 'pytest-xdist', 'PySocks>=1.5.6, !=1.5.7', 'pytest>=2.8.0'] -- 2.9.4 diff --git a/python-requests.spec b/python-requests.spec index 8c9a42f..9cbdedd 100644 --- a/python-requests.spec +++ b/python-requests.spec @@ -9,7 +9,7 @@ Name: python-requests Version: 2.18.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: HTTP library, written in Python, for human beings License: ASL 2.0 @@ -166,6 +166,9 @@ popd %endif %changelog +* Tue Jun 20 2017 Jeremy Cline - 2.18.1-2 +- Drop the dependency on certifi in setup.py + * Mon Jun 19 2017 Jeremy Cline - 2.18.1-1 - Update to 2.18.1 (#1449432) - Remove tests that require non-local network (#1450608)