We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5afcf4 commit 6fb4bf2Copy full SHA for 6fb4bf2
tools/vendoring/patches/certifi.patch
@@ -1,10 +1,10 @@
1
diff --git a/src/pip/_vendor/certifi/core.py b/src/pip/_vendor/certifi/core.py
2
-index 5d2b8cd32..b8140cf1a 100644
+index 497d938..f34045b 100644
3
--- a/src/pip/_vendor/certifi/core.py
4
+++ b/src/pip/_vendor/certifi/core.py
5
-@@ -8,7 +8,21 @@ This module returns the installation location of cacert.pem or its contents.
6
- """
7
- import os
+@@ -8,7 +8,21 @@ import os
+ import types
+ from typing import Union
8
9
+
10
+class _PipPatchedCertificate(Exception):
@@ -38,4 +38,4 @@ index 5d2b8cd32..b8140cf1a 100644
38
+ pass
39
40
except ImportError:
41
- # This fallback will work for Python versions prior to 3.7 that lack the
+ Package = Union[types.ModuleType, str]
0 commit comments