summaryrefslogtreecommitdiffstats
path: root/Lib/ensurepip
diff options
context:
space:
mode:
authorXavier Fernandez <xav.fernandez@gmail.com>2020-06-15 19:16:48 (GMT)
committerGitHub <noreply@github.com>2020-06-15 19:16:48 (GMT)
commit5f79f46612c351bde78a41c5264c42db21008868 (patch)
tree6154dafc685835c6e5e61392ec41e648e3998342 /Lib/ensurepip
parent4a3a682b12f93a03888e8b59f439bc5fe30d6055 (diff)
downloadcpython-5f79f46612c351bde78a41c5264c42db21008868.zip
cpython-5f79f46612c351bde78a41c5264c42db21008868.tar.gz
cpython-5f79f46612c351bde78a41c5264c42db21008868.tar.bz2
bpo-38488: Upgrade bundled versions of pip & setuptools (GH-20491)
Diffstat (limited to 'Lib/ensurepip')
-rw-r--r--Lib/ensurepip/__init__.py12
-rw-r--r--Lib/ensurepip/_bundled/pip-19.2.3-py2.py3-none-any.whlbin1414986 -> 0 bytes
-rw-r--r--Lib/ensurepip/_bundled/pip-20.1.1-py2.py3-none-any.whlbin0 -> 1490666 bytes
-rw-r--r--Lib/ensurepip/_bundled/setuptools-47.1.0-py3-none-any.whl (renamed from Lib/ensurepip/_bundled/setuptools-41.2.0-py2.py3-none-any.whl)bin576332 -> 583087 bytes
4 files changed, 6 insertions, 6 deletions
diff --git a/Lib/ensurepip/__init__.py b/Lib/ensurepip/__init__.py
index d62b118..21320a8 100644
--- a/Lib/ensurepip/__init__.py
+++ b/Lib/ensurepip/__init__.py
@@ -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,
diff --git a/Lib/ensurepip/_bundled/pip-19.2.3-py2.py3-none-any.whl b/Lib/ensurepip/_bundled/pip-19.2.3-py2.py3-none-any.whl
deleted file mode 100644
index 8118df8..0000000
--- a/Lib/ensurepip/_bundled/pip-19.2.3-py2.py3-none-any.whl
+++ /dev/null
Binary files differ
diff --git a/Lib/ensurepip/_bundled/pip-20.1.1-py2.py3-none-any.whl b/Lib/ensurepip/_bundled/pip-20.1.1-py2.py3-none-any.whl
new file mode 100644
index 0000000..ea1d0f7
--- /dev/null
+++ b/Lib/ensurepip/_bundled/pip-20.1.1-py2.py3-none-any.whl
Binary files differ
diff --git a/Lib/ensurepip/_bundled/setuptools-41.2.0-py2.py3-none-any.whl b/Lib/ensurepip/_bundled/setuptools-47.1.0-py3-none-any.whl
index 82df6f6..f87867f 100644
--- a/Lib/ensurepip/_bundled/setuptools-41.2.0-py2.py3-none-any.whl
+++ b/Lib/ensurepip/_bundled/setuptools-47.1.0-py3-none-any.whl
Binary files differ