Skip to content

Commit 325e464

Browse files
bpo-45343: Update bundled pip to 21.2.4 and setuptools to 58.1.0 (GH-28684) (GH-28746)
(cherry picked from commit 4c8d543) Co-authored-by: Illia Volochii <illia.volochii@gmail.com>
1 parent 258c5fb commit 325e464

5 files changed

Lines changed: 5 additions & 4 deletions

File tree

Lib/ensurepip/__init__.py

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

1212
__all__ = ["version", "bootstrap"]
1313
_PACKAGE_NAMES = ('setuptools', 'pip')
14-
_SETUPTOOLS_VERSION = "57.4.0"
15-
_PIP_VERSION = "21.2.3"
14+
_SETUPTOOLS_VERSION = "58.1.0"
15+
_PIP_VERSION = "21.2.4"
1616
_PROJECTS = [
1717
("setuptools", _SETUPTOOLS_VERSION, "py3"),
1818
("pip", _PIP_VERSION, "py3"),
@@ -42,7 +42,7 @@ def _find_packages(path):
4242
# comparison since this case should not happen.
4343
filenames = sorted(filenames)
4444
for filename in filenames:
45-
# filename is like 'pip-20.2.3-py2.py3-none-any.whl'
45+
# filename is like 'pip-21.2.4-py3-none-any.whl'
4646
if not filename.endswith(".whl"):
4747
continue
4848
for name in _PACKAGE_NAMES:
@@ -52,7 +52,7 @@ def _find_packages(path):
5252
else:
5353
continue
5454

55-
# Extract '20.2.2' from 'pip-20.2.2-py2.py3-none-any.whl'
55+
# Extract '21.2.4' from 'pip-21.2.4-py3-none-any.whl'
5656
version = filename.removeprefix(prefix).partition('-')[0]
5757
wheel_path = os.path.join(path, filename)
5858
packages[name] = _Package(version, None, wheel_path)
-1.49 MB
Binary file not shown.
1.48 MB
Binary file not shown.

Lib/ensurepip/_bundled/setuptools-57.4.0-py3-none-any.whl renamed to Lib/ensurepip/_bundled/setuptools-58.1.0-py3-none-any.whl

800 KB
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)