diff options
author | Stéphane Bidoul <stephane.bidoul@gmail.com> | 2022-07-17 01:02:27 +0200 |
---|---|---|
committer | Stéphane Bidoul <stephane.bidoul@gmail.com> | 2022-07-17 01:05:13 +0200 |
commit | 6fb4bf2688b73aac5f84bed0d34b95281ebc95e6 (patch) | |
tree | 60010080a93bcc2f2740a3604dd85756e28ce7dc /tools | |
parent | c5afcf47cb2863abc6908758716ee3043330a652 (diff) | |
download | pip-6fb4bf2688b73aac5f84bed0d34b95281ebc95e6.tar.gz |
Vendoring: update ceritfi patch
Diffstat (limited to 'tools')
-rw-r--r-- | tools/vendoring/patches/certifi.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/vendoring/patches/certifi.patch b/tools/vendoring/patches/certifi.patch index a36a0020f..31554505c 100644 --- a/tools/vendoring/patches/certifi.patch +++ b/tools/vendoring/patches/certifi.patch @@ -1,10 +1,10 @@ diff --git a/src/pip/_vendor/certifi/core.py b/src/pip/_vendor/certifi/core.py -index 5d2b8cd32..b8140cf1a 100644 +index 497d938..f34045b 100644 --- a/src/pip/_vendor/certifi/core.py +++ b/src/pip/_vendor/certifi/core.py -@@ -8,7 +8,21 @@ This module returns the installation location of cacert.pem or its contents. - """ - import os +@@ -8,7 +8,21 @@ import os + import types + from typing import Union + +class _PipPatchedCertificate(Exception): @@ -38,4 +38,4 @@ index 5d2b8cd32..b8140cf1a 100644 + pass except ImportError: - # This fallback will work for Python versions prior to 3.7 that lack the + Package = Union[types.ModuleType, str] |