Skip to content

Commit 6fb4bf2

Browse files
committed
Vendoring: update ceritfi patch
1 parent c5afcf4 commit 6fb4bf2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tools/vendoring/patches/certifi.patch

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
diff --git a/src/pip/_vendor/certifi/core.py b/src/pip/_vendor/certifi/core.py
2-
index 5d2b8cd32..b8140cf1a 100644
2+
index 497d938..f34045b 100644
33
--- a/src/pip/_vendor/certifi/core.py
44
+++ 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
5+
@@ -8,7 +8,21 @@ import os
6+
import types
7+
from typing import Union
88

99
+
1010
+class _PipPatchedCertificate(Exception):
@@ -38,4 +38,4 @@ index 5d2b8cd32..b8140cf1a 100644
3838
+ pass
3939

4040
except ImportError:
41-
# This fallback will work for Python versions prior to 3.7 that lack the
41+
Package = Union[types.ModuleType, str]

0 commit comments

Comments
 (0)