6d97c1
From cf96ff346639d1b9f5efa3fd0976694e04df3f5f Mon Sep 17 00:00:00 2001
6d97c1
From: Tomas Hrnciar <thrnciar@redhat.com>
6d97c1
Date: Sun, 26 Apr 2020 21:38:44 +0200
6d97c1
Subject: [PATCH] Dummy certifi patch
6d97c1
6d97c1
---
6d97c1
 src/pip/_vendor/certifi/core.py | 5 ++---
6d97c1
 1 file changed, 2 insertions(+), 3 deletions(-)
6d97c1
6d97c1
diff --git a/src/pip/_vendor/certifi/core.py b/src/pip/_vendor/certifi/core.py
6d97c1
index 8987449..d174ced 100644
6d97c1
--- a/src/pip/_vendor/certifi/core.py
6d97c1
+++ b/src/pip/_vendor/certifi/core.py
6d97c1
@@ -9,6 +9,7 @@ This module returns the installation location of cacert.pem or its contents.
6d97c1
 import os
6d97c1
 
6d97c1
 try:
6d97c1
+    raise ImportError  # force fallback
6d97c1
     from importlib.resources import path as get_path, read_text
6d97c1
 
6d97c1
     _CACERT_CTX = None
6d97c1
@@ -51,9 +52,7 @@ except ImportError:
6d97c1
     # If we don't have importlib.resources, then we will just do the old logic
6d97c1
     # of assuming we're on the filesystem and munge the path directly.
6d97c1
     def where():
6d97c1
-        f = os.path.dirname(__file__)
6d97c1
-
6d97c1
-        return os.path.join(f, "cacert.pem")
6d97c1
+        return '/etc/pki/tls/certs/ca-bundle.crt'
6d97c1
 
6d97c1
 
6d97c1
 def contents():
6d97c1
-- 
6d97c1
2.25.4
6d97c1