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

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