Blame SOURCES/requests-2.28.1-system-certs.patch
|
|
b35eab |
--- requests-2.28.1/requests/certs.py 2022-07-12 13:55:25.378079641 -0700
|
|
|
b35eab |
+++ requests-2.28.1/requests/certs.py.new 2022-07-12 13:57:03.834621295 -0700
|
|
|
b35eab |
@@ -9,8 +9,13 @@
|
|
|
b35eab |
If you are packaging Requests, e.g., for a Linux distribution or a managed
|
|
|
b35eab |
environment, you can change the definition of where() to return a separately
|
|
|
b35eab |
packaged CA bundle.
|
|
|
b35eab |
+
|
|
|
b35eab |
+This Fedora-patched package returns "/etc/pki/tls/certs/ca-bundle.crt" provided
|
|
|
b35eab |
+by the ca-certificates RPM package.
|
|
|
b35eab |
"""
|
|
|
b35eab |
-from certifi import where
|
|
|
b35eab |
+def where():
|
|
|
b35eab |
+ """Return the absolute path to the system CA bundle."""
|
|
|
b35eab |
+ return '/etc/pki/tls/certs/ca-bundle.crt'
|
|
|
b35eab |
|
|
|
b35eab |
if __name__ == "__main__":
|
|
|
b35eab |
print(where())
|
|
|
b35eab |
--- requests-2.28.1/setup.py 2022-06-29 08:09:11.000000000 -0700
|
|
|
b35eab |
+++ requests-2.28.1/setup.py.new 2022-07-12 13:58:33.830116402 -0700
|
|
|
b35eab |
@@ -62,7 +62,6 @@
|
|
|
b35eab |
"charset_normalizer>=2,<3",
|
|
|
b35eab |
"idna>=2.5,<4",
|
|
|
b35eab |
"urllib3>=1.21.1,<1.27",
|
|
|
b35eab |
- "certifi>=2017.4.17",
|
|
|
b35eab |
]
|
|
|
b35eab |
test_requirements = [
|
|
|
b35eab |
"pytest-httpbin==0.0.7",
|
|
|
b35eab |
--- requests-2.28.1/setup.cfg 2022-06-29 08:09:11.000000000 -0700
|
|
|
b35eab |
+++ requests-2.28.1/setup.cfg.new 2022-07-12 13:58:19.619038220 -0700
|
|
|
b35eab |
@@ -4,7 +4,6 @@
|
|
|
b35eab |
socks
|
|
|
b35eab |
use_chardet_on_py3
|
|
|
b35eab |
requires-dist =
|
|
|
b35eab |
- certifi>=2017.4.17
|
|
|
b35eab |
charset_normalizer>=2,<3
|
|
|
b35eab |
idna>=2.5,<4
|
|
|
b35eab |
urllib3>=1.21.1,<1.27
|