-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
147 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Upgrade certifi to 2022.9.24 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
from .core import contents, where | ||
|
||
__all__ = ["contents", "where"] | ||
__version__ = "2022.06.15" | ||
__version__ = "2022.09.24" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,42 @@ | ||
diff --git a/src/pip/_vendor/certifi/core.py b/src/pip/_vendor/certifi/core.py | ||
index 497d938d0..60ad982c6 100644 | ||
index de028981b..c3e546604 100644 | ||
--- a/src/pip/_vendor/certifi/core.py | ||
+++ b/src/pip/_vendor/certifi/core.py | ||
@@ -33,7 +33,7 @@ def where() -> str: | ||
@@ -33,13 +33,13 @@ def where() -> str: | ||
# We also have to hold onto the actual context manager, because | ||
# it will do the cleanup whenever it gets garbage collected, so | ||
# we will also store that at the global level as well. | ||
- _CACERT_CTX = as_file(files("certifi").joinpath("cacert.pem")) | ||
+ _CACERT_CTX = as_file(files("pip._vendor.certifi").joinpath("cacert.pem")) | ||
_CACERT_PATH = str(_CACERT_CTX.__enter__()) | ||
|
||
return _CACERT_PATH | ||
|
||
def contents() -> str: | ||
- return files("certifi").joinpath("cacert.pem").read_text(encoding="ascii") | ||
+ return files("pip._vendor.certifi").joinpath("cacert.pem").read_text(encoding="ascii") | ||
|
||
elif sys.version_info >= (3, 7): | ||
|
||
@@ -68,13 +68,13 @@ def where() -> str: | ||
# We also have to hold onto the actual context manager, because | ||
# it will do the cleanup whenever it gets garbage collected, so | ||
# we will also store that at the global level as well. | ||
- _CACERT_CTX = get_path("certifi", "cacert.pem") | ||
+ _CACERT_CTX = get_path("pip._vendor.certifi", "cacert.pem") | ||
_CACERT_PATH = str(_CACERT_CTX.__enter__()) | ||
|
||
return _CACERT_PATH | ||
@@ -65,4 +65,4 @@ def where() -> str: | ||
|
||
|
||
def contents() -> str: | ||
- return read_text("certifi", "cacert.pem", encoding="ascii") | ||
+ return read_text("pip._vendor.certifi", "cacert.pem", encoding="ascii") | ||
|
||
def contents() -> str: | ||
- return read_text("certifi", "cacert.pem", encoding="ascii") | ||
+ return read_text("pip._vendor.certifi", "cacert.pem", encoding="ascii") | ||
|
||
else: | ||
import os | ||
@@ -105,4 +105,4 @@ def where() -> str: | ||
return os.path.join(f, "cacert.pem") | ||
|
||
def contents() -> str: | ||
- return read_text("certifi", "cacert.pem", encoding="ascii") | ||
+ return read_text("pip._vendor.certifi", "cacert.pem", encoding="ascii") |