[Python-checkins] Upgrade bundled versions of pip & setuptools (#16782)

Xavier Fernandez webhook-mailer at python.org
Wed May 27 06:49:39 EDT 2020


https://github.com/python/cpython/commit/feb0846c3a28b05b4cfbc6ab34c764957f3eff55
commit: feb0846c3a28b05b4cfbc6ab34c764957f3eff55
branch: master
author: Xavier Fernandez <xav.fernandez at gmail.com>
committer: GitHub <noreply at github.com>
date: 2020-05-27T20:49:34+10:00
summary:

Upgrade bundled versions of pip & setuptools (#16782)

files:
A Lib/ensurepip/_bundled/pip-20.1-py2.py3-none-any.whl
A Lib/ensurepip/_bundled/setuptools-46.1.3-py3-none-any.whl
A Misc/NEWS.d/next/Library/2019-10-15-23-28-11.bpo-38488.hFQNgA.rst
D Lib/ensurepip/_bundled/pip-19.2.3-py2.py3-none-any.whl
D Lib/ensurepip/_bundled/setuptools-41.2.0-py2.py3-none-any.whl
M Lib/ensurepip/__init__.py

diff --git a/Lib/ensurepip/__init__.py b/Lib/ensurepip/__init__.py
index 545fce656fd6f..1ec49714c6459 100644
--- a/Lib/ensurepip/__init__.py
+++ b/Lib/ensurepip/__init__.py
@@ -12,13 +12,13 @@
 __all__ = ["version", "bootstrap"]
 
 
-_SETUPTOOLS_VERSION = "41.2.0"
+_SETUPTOOLS_VERSION = "46.1.3"
 
-_PIP_VERSION = "19.2.3"
+_PIP_VERSION = "20.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 8118df8ac1940..0000000000000
Binary files a/Lib/ensurepip/_bundled/pip-19.2.3-py2.py3-none-any.whl and /dev/null differ
diff --git a/Lib/ensurepip/_bundled/pip-20.1-py2.py3-none-any.whl b/Lib/ensurepip/_bundled/pip-20.1-py2.py3-none-any.whl
new file mode 100644
index 0000000000000..925a59f4c2d8a
Binary files /dev/null and b/Lib/ensurepip/_bundled/pip-20.1-py2.py3-none-any.whl differ
diff --git a/Lib/ensurepip/_bundled/setuptools-41.2.0-py2.py3-none-any.whl b/Lib/ensurepip/_bundled/setuptools-46.1.3-py3-none-any.whl
similarity index 65%
rename from Lib/ensurepip/_bundled/setuptools-41.2.0-py2.py3-none-any.whl
rename to Lib/ensurepip/_bundled/setuptools-46.1.3-py3-none-any.whl
index 82df6f63f4ee9..fc3f6ccf4277d 100644
Binary files a/Lib/ensurepip/_bundled/setuptools-41.2.0-py2.py3-none-any.whl and b/Lib/ensurepip/_bundled/setuptools-46.1.3-py3-none-any.whl differ
diff --git a/Misc/NEWS.d/next/Library/2019-10-15-23-28-11.bpo-38488.hFQNgA.rst b/Misc/NEWS.d/next/Library/2019-10-15-23-28-11.bpo-38488.hFQNgA.rst
new file mode 100644
index 0000000000000..95cf2f1b5ed46
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2019-10-15-23-28-11.bpo-38488.hFQNgA.rst
@@ -0,0 +1 @@
+Update ensurepip to install pip 20.1 and setuptools 46.1.3.



More information about the Python-checkins mailing list