mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
bpo-38488: Upgrade bundled versions of pip & setuptools (GH-20491)
This commit is contained in:
parent
4a3a682b12
commit
5f79f46612
6 changed files with 8 additions and 7 deletions
|
@ -12,13 +12,13 @@ from . import _bundled
|
|||
__all__ = ["version", "bootstrap"]
|
||||
|
||||
|
||||
_SETUPTOOLS_VERSION = "41.2.0"
|
||||
_SETUPTOOLS_VERSION = "47.1.0"
|
||||
|
||||
_PIP_VERSION = "19.2.3"
|
||||
_PIP_VERSION = "20.1.1"
|
||||
|
||||
_PROJECTS = [
|
||||
("setuptools", _SETUPTOOLS_VERSION),
|
||||
("pip", _PIP_VERSION),
|
||||
("setuptools", _SETUPTOOLS_VERSION, "py3"),
|
||||
("pip", _PIP_VERSION, "py2.py3"),
|
||||
]
|
||||
|
||||
|
||||
|
@ -107,8 +107,8 @@ def _bootstrap(*, root=None, upgrade=False, user=False,
|
|||
# Put our bundled wheels into a temporary directory and construct the
|
||||
# additional paths that need added to sys.path
|
||||
additional_paths = []
|
||||
for project, version in _PROJECTS:
|
||||
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)
|
||||
whl = resources.read_binary(
|
||||
_bundled,
|
||||
wheel_name,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue