Skip to content

Commit 4c8d543

Browse files
authored
bpo-45343: Update bundled pip to 21.2.4 and setuptools to 58.1.0 (GH-28684)
1 parent 48fadb1 commit 4c8d543

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

Lib/ensurepip/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
__all__ = ["version", "bootstrap"]
1212
_PACKAGE_NAMES = ('setuptools', 'pip')
13-
_SETUPTOOLS_VERSION = "57.4.0"
14-
_PIP_VERSION = "21.2.3"
13+
_SETUPTOOLS_VERSION = "58.1.0"
14+
_PIP_VERSION = "21.2.4"
1515
_PROJECTS = [
1616
("setuptools", _SETUPTOOLS_VERSION, "py3"),
1717
("pip", _PIP_VERSION, "py3"),
@@ -41,7 +41,7 @@ def _find_packages(path):
4141
# comparison since this case should not happen.
4242
filenames = sorted(filenames)
4343
for filename in filenames:
44-
# filename is like 'pip-20.2.3-py2.py3-none-any.whl'
44+
# filename is like 'pip-21.2.4-py3-none-any.whl'
4545
if not filename.endswith(".whl"):
4646
continue
4747
for name in _PACKAGE_NAMES:
@@ -51,7 +51,7 @@ def _find_packages(path):
5151
else:
5252
continue
5353

54-
# Extract '20.2.2' from 'pip-20.2.2-py2.py3-none-any.whl'
54+
# Extract '21.2.4' from 'pip-21.2.4-py3-none-any.whl'
5555
version = filename.removeprefix(prefix).partition('-')[0]
5656
wheel_path = os.path.join(path, filename)
5757
packages[name] = _Package(version, None, wheel_path)
Binary file not shown.
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Update bundled pip to 21.2.4 and setuptools to 58.1.0

0 commit comments

Comments
 (0)