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

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