Blame SOURCES/requests-2.28.1-system-certs.patch

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