From ce5289a8b8dd358f5ec22dde31d062ebdebc2cab Mon Sep 17 00:00:00 2001 From: Matt Davis Date: Sun, 4 Dec 2022 03:53:54 -0500 Subject: [PATCH] vendor in Pip 22.3.1 --- pipenv/patched/patched.txt | 2 +- pipenv/patched/pip/__init__.py | 2 +- pipenv/patched/pip/_internal/operations/install/wheel.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pipenv/patched/patched.txt b/pipenv/patched/patched.txt index 11eda87a..e5ae066e 100644 --- a/pipenv/patched/patched.txt +++ b/pipenv/patched/patched.txt @@ -1,2 +1,2 @@ -pip==22.3 +pip==22.3.1 safety==2.3.2 diff --git a/pipenv/patched/pip/__init__.py b/pipenv/patched/pip/__init__.py index cd662e98..d5f9bc0c 100644 --- a/pipenv/patched/pip/__init__.py +++ b/pipenv/patched/pip/__init__.py @@ -1,6 +1,6 @@ from typing import List, Optional -__version__ = "22.3" +__version__ = "22.3.1" def main(args: Optional[List[str]] = None) -> int: diff --git a/pipenv/patched/pip/_internal/operations/install/wheel.py b/pipenv/patched/pip/_internal/operations/install/wheel.py index c5c76a83..588a40a8 100644 --- a/pipenv/patched/pip/_internal/operations/install/wheel.py +++ b/pipenv/patched/pip/_internal/operations/install/wheel.py @@ -325,7 +325,7 @@ def get_console_script_specs(console: Dict[str, str]) -> List[str]: scripts_to_generate.append(f"pip{get_major_minor_version()} = {pip_script}") # Delete any other versioned pip entry points - pip_ep = [k for k in console if re.match(r"pip(\d(\.\d)?)?$", k)] + pip_ep = [k for k in console if re.match(r"pip(\d+(\.\d+)?)?$", k)] for k in pip_ep: del console[k] easy_install_script = console.pop("easy_install", None) @@ -340,7 +340,7 @@ def get_console_script_specs(console: Dict[str, str]) -> List[str]: ) # Delete any other versioned easy_install entry points easy_install_ep = [ - k for k in console if re.match(r"easy_install(-\d\.\d)?$", k) + k for k in console if re.match(r"easy_install(-\d+\.\d+)?$", k) ] for k in easy_install_ep: del console[k]