[Python-checkins] bpo-46985: Upgrade bundled pip to 22.0.4 (GH-31819) (GH-31852)

ned-deily webhook-mailer at python.org
Sun Mar 13 15:58:07 EDT 2022


https://github.com/python/cpython/commit/5a8e968c38cc239c07eba15ded439a12818a852f
commit: 5a8e968c38cc239c07eba15ded439a12818a852f
branch: 3.7
author: Ned Deily <nad at python.org>
committer: ned-deily <nad at python.org>
date: 2022-03-13T15:58:02-04:00
summary:

bpo-46985: Upgrade bundled pip to 22.0.4 (GH-31819) (GH-31852)

(cherry picked from commit d87f1b787ed38dfd307d82452f2efe9dc5b93942)

Co-authored-by: Pradyun Gedam <pgedam at bloomberg.net>

files:
A Lib/ensurepip/_bundled/pip-22.0.4-py3-none-any.whl
A Misc/NEWS.d/next/Library/2022-03-11-13-34-16.bpo-46985.BgoMr2.rst
D Lib/ensurepip/_bundled/pip-20.1.1-py2.py3-none-any.whl
M Lib/ensurepip/__init__.py

diff --git a/Lib/ensurepip/__init__.py b/Lib/ensurepip/__init__.py
index 94d40b0c8d010..8289c495d3689 100644
--- a/Lib/ensurepip/__init__.py
+++ b/Lib/ensurepip/__init__.py
@@ -7,15 +7,12 @@
 
 
 __all__ = ["version", "bootstrap"]
-
-
+_PACKAGE_NAMES = ('setuptools', 'pip')
 _SETUPTOOLS_VERSION = "47.1.0"
-
-_PIP_VERSION = "20.1.1"
-
+_PIP_VERSION = "22.0.4"
 _PROJECTS = [
     ("setuptools", _SETUPTOOLS_VERSION, "py3"),
-    ("pip", _PIP_VERSION, "py2.py3"),
+    ("pip", _PIP_VERSION, "py3"),
 ]
 
 
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
deleted file mode 100644
index ea1d0f7c8604a..0000000000000
Binary files a/Lib/ensurepip/_bundled/pip-20.1.1-py2.py3-none-any.whl and /dev/null differ
diff --git a/Lib/ensurepip/_bundled/pip-22.0.4-py3-none-any.whl b/Lib/ensurepip/_bundled/pip-22.0.4-py3-none-any.whl
new file mode 100644
index 0000000000000..7ba048e245227
Binary files /dev/null and b/Lib/ensurepip/_bundled/pip-22.0.4-py3-none-any.whl differ
diff --git a/Misc/NEWS.d/next/Library/2022-03-11-13-34-16.bpo-46985.BgoMr2.rst b/Misc/NEWS.d/next/Library/2022-03-11-13-34-16.bpo-46985.BgoMr2.rst
new file mode 100644
index 0000000000000..2e08ee837f583
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2022-03-11-13-34-16.bpo-46985.BgoMr2.rst
@@ -0,0 +1 @@
+Upgrade pip wheel bundled with ensurepip (pip 22.0.4)



More information about the Python-checkins mailing list