summaryrefslogtreecommitdiffstats
path: root/Lib/ensurepip/__init__.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-10-05 22:15:46 (GMT)
committerGitHub <noreply@github.com>2021-10-05 22:15:46 (GMT)
commit325e4647afffe347cc20747f3dccc6ba9e782636 (patch)
tree4756ca507e7f6ec1f203d68bd973511ed979d297 /Lib/ensurepip/__init__.py
parent258c5fbbfd5b09d5ece629d7877d8753112f0f1c (diff)
downloadcpython-325e4647afffe347cc20747f3dccc6ba9e782636.zip
cpython-325e4647afffe347cc20747f3dccc6ba9e782636.tar.gz
cpython-325e4647afffe347cc20747f3dccc6ba9e782636.tar.bz2
bpo-45343: Update bundled pip to 21.2.4 and setuptools to 58.1.0 (GH-28684) (GH-28746)
(cherry picked from commit 4c8d543823dde5a30615da61727837a48f7ab847) Co-authored-by: Illia Volochii <illia.volochii@gmail.com>
Diffstat (limited to 'Lib/ensurepip/__init__.py')
-rw-r--r--Lib/ensurepip/__init__.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/ensurepip/__init__.py b/Lib/ensurepip/__init__.py
index f28ab11..0a5730c 100644
--- a/Lib/ensurepip/__init__.py
+++ b/Lib/ensurepip/__init__.py
@@ -11,8 +11,8 @@ from importlib import resources
__all__ = ["version", "bootstrap"]
_PACKAGE_NAMES = ('setuptools', 'pip')
-_SETUPTOOLS_VERSION = "57.4.0"
-_PIP_VERSION = "21.2.3"
+_SETUPTOOLS_VERSION = "58.1.0"
+_PIP_VERSION = "21.2.4"
_PROJECTS = [
("setuptools", _SETUPTOOLS_VERSION, "py3"),
("pip", _PIP_VERSION, "py3"),
@@ -42,7 +42,7 @@ def _find_packages(path):
# comparison since this case should not happen.
filenames = sorted(filenames)
for filename in filenames:
- # filename is like 'pip-20.2.3-py2.py3-none-any.whl'
+ # filename is like 'pip-21.2.4-py3-none-any.whl'
if not filename.endswith(".whl"):
continue
for name in _PACKAGE_NAMES:
@@ -52,7 +52,7 @@ def _find_packages(path):
else:
continue
- # Extract '20.2.2' from 'pip-20.2.2-py2.py3-none-any.whl'
+ # Extract '21.2.4' from 'pip-21.2.4-py3-none-any.whl'
version = filename.removeprefix(prefix).partition('-')[0]
wheel_path = os.path.join(path, filename)
packages[name] = _Package(version, None, wheel_path)