Remove the certifi requirement from setup.py
We use the certificates provided by the ca-certificates RPM package and therefore don't use certifi. Signed-off-by: Jeremy Cline <jeremy@jcline.org>
This commit is contained in:
parent
2c9580baca
commit
42ab4cc57f
@ -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 <jeremy@jcline.org>
|
From: Jeremy Cline <jeremy@jcline.org>
|
||||||
Date: Mon, 19 Jun 2017 16:09:02 -0400
|
Date: Mon, 19 Jun 2017 16:09:02 -0400
|
||||||
Subject: [PATCH] Patch requests/certs.py to use the system CA bundle
|
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 <jeremy@jcline.org>
|
Signed-off-by: Jeremy Cline <jeremy@jcline.org>
|
||||||
---
|
---
|
||||||
requests/certs.py | 11 ++++++++++-
|
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
|
diff --git a/requests/certs.py b/requests/certs.py
|
||||||
index d1a378d..7b103ba 100644
|
index d1a378d..7b103ba 100644
|
||||||
@ -31,6 +32,18 @@ index d1a378d..7b103ba 100644
|
|||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
print(where())
|
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
|
2.9.4
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
Name: python-requests
|
Name: python-requests
|
||||||
Version: 2.18.1
|
Version: 2.18.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: HTTP library, written in Python, for human beings
|
Summary: HTTP library, written in Python, for human beings
|
||||||
|
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
@ -166,6 +166,9 @@ popd
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jun 20 2017 Jeremy Cline <jeremy@jcline.org> - 2.18.1-2
|
||||||
|
- Drop the dependency on certifi in setup.py
|
||||||
|
|
||||||
* Mon Jun 19 2017 Jeremy Cline <jeremy@jcline.org> - 2.18.1-1
|
* Mon Jun 19 2017 Jeremy Cline <jeremy@jcline.org> - 2.18.1-1
|
||||||
- Update to 2.18.1 (#1449432)
|
- Update to 2.18.1 (#1449432)
|
||||||
- Remove tests that require non-local network (#1450608)
|
- Remove tests that require non-local network (#1450608)
|
||||||
|
Loading…
Reference in New Issue
Block a user