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