There was an error while loading. Please reload this page.
1 parent 7da46b6 commit feb0846Copy full SHA for feb0846
5 files changed
Lib/ensurepip/__init__.py
@@ -12,13 +12,13 @@
12
__all__ = ["version", "bootstrap"]
13
14
15
-_SETUPTOOLS_VERSION = "41.2.0"
+_SETUPTOOLS_VERSION = "46.1.3"
16
17
-_PIP_VERSION = "19.2.3"
+_PIP_VERSION = "20.1"
18
19
_PROJECTS = [
20
- ("setuptools", _SETUPTOOLS_VERSION),
21
- ("pip", _PIP_VERSION),
+ ("setuptools", _SETUPTOOLS_VERSION, 'py3'),
+ ("pip", _PIP_VERSION, 'py2.py3'),
22
]
23
24
@@ -107,8 +107,8 @@ def _bootstrap(*, root=None, upgrade=False, user=False,
107
# Put our bundled wheels into a temporary directory and construct the
108
# additional paths that need added to sys.path
109
additional_paths = []
110
- for project, version in _PROJECTS:
111
- wheel_name = "{}-{}-py2.py3-none-any.whl".format(project, version)
+ for project, version, py_tag in _PROJECTS:
+ wheel_name = "{}-{}-{}-none-any.whl".format(project, version, py_tag)
112
whl = resources.read_binary(
113
_bundled,
114
wheel_name,
Lib/ensurepip/_bundled/pip-19.2.3-py2.py3-none-any.whl
-1.35 MB
Lib/ensurepip/_bundled/pip-20.1-py2.py3-none-any.whl
1.42 MB
…d/setuptools-41.2.0-py2.py3-none-any.whl …ndled/setuptools-46.1.3-py3-none-any.whlLib/ensurepip/_bundled/setuptools-41.2.0-py2.py3-none-any.whl renamed to Lib/ensurepip/_bundled/setuptools-46.1.3-py3-none-any.whl
563 KB
Misc/NEWS.d/next/Library/2019-10-15-23-28-11.bpo-38488.hFQNgA.rst
@@ -0,0 +1 @@
1
+Update ensurepip to install pip 20.1 and setuptools 46.1.3.
0 commit comments