Skip to content

Commit feb0846

Browse files
authored
Upgrade bundled versions of pip & setuptools (#16782)
1 parent 7da46b6 commit feb0846

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

Lib/ensurepip/__init__.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
__all__ = ["version", "bootstrap"]
1313

1414

15-
_SETUPTOOLS_VERSION = "41.2.0"
15+
_SETUPTOOLS_VERSION = "46.1.3"
1616

17-
_PIP_VERSION = "19.2.3"
17+
_PIP_VERSION = "20.1"
1818

1919
_PROJECTS = [
20-
("setuptools", _SETUPTOOLS_VERSION),
21-
("pip", _PIP_VERSION),
20+
("setuptools", _SETUPTOOLS_VERSION, 'py3'),
21+
("pip", _PIP_VERSION, 'py2.py3'),
2222
]
2323

2424

@@ -107,8 +107,8 @@ def _bootstrap(*, root=None, upgrade=False, user=False,
107107
# Put our bundled wheels into a temporary directory and construct the
108108
# additional paths that need added to sys.path
109109
additional_paths = []
110-
for project, version in _PROJECTS:
111-
wheel_name = "{}-{}-py2.py3-none-any.whl".format(project, version)
110+
for project, version, py_tag in _PROJECTS:
111+
wheel_name = "{}-{}-{}-none-any.whl".format(project, version, py_tag)
112112
whl = resources.read_binary(
113113
_bundled,
114114
wheel_name,
Binary file not shown.
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Update ensurepip to install pip 20.1 and setuptools 46.1.3.

0 commit comments

Comments
 (0)