summaryrefslogtreecommitdiffstats
path: root/Lib/ensurepip
diff options
context:
space:
mode:
authorIllia Volochii <illia.volochii@gmail.com>2021-10-05 21:30:38 (GMT)
committerGitHub <noreply@github.com>2021-10-05 21:30:38 (GMT)
commit4c8d543823dde5a30615da61727837a48f7ab847 (patch)
tree53815ba422fc8b45d1106b2d04086968efcd1023 /Lib/ensurepip
parent48fadb1f19f75fcaacb7d523dcc9e05b97dcce74 (diff)
downloadcpython-4c8d543823dde5a30615da61727837a48f7ab847.zip
cpython-4c8d543823dde5a30615da61727837a48f7ab847.tar.gz
cpython-4c8d543823dde5a30615da61727837a48f7ab847.tar.bz2
bpo-45343: Update bundled pip to 21.2.4 and setuptools to 58.1.0 (GH-28684)
Diffstat (limited to 'Lib/ensurepip')
-rw-r--r--Lib/ensurepip/__init__.py8
-rw-r--r--Lib/ensurepip/_bundled/pip-21.2.3-py3-none-any.whlbin1563443 -> 0 bytes
-rw-r--r--Lib/ensurepip/_bundled/pip-21.2.4-py3-none-any.whlbin0 -> 1555100 bytes
-rw-r--r--Lib/ensurepip/_bundled/setuptools-58.1.0-py3-none-any.whl (renamed from Lib/ensurepip/_bundled/setuptools-57.4.0-py3-none-any.whl)bin819017 -> 816725 bytes
4 files changed, 4 insertions, 4 deletions
diff --git a/Lib/ensurepip/__init__.py b/Lib/ensurepip/__init__.py
index 651f876..94f1b66 100644
--- a/Lib/ensurepip/__init__.py
+++ b/Lib/ensurepip/__init__.py
@@ -10,8 +10,8 @@ from importlib import resources
__all__ = ["version", "bootstrap"]
_PACKAGE_NAMES = ('setuptools', 'pip')
-_SETUPTOOLS_VERSION = "57.4.0"
-_PIP_VERSION = "21.2.3"
+_SETUPTOOLS_VERSION = "58.1.0"
+_PIP_VERSION = "21.2.4"
_PROJECTS = [
("setuptools", _SETUPTOOLS_VERSION, "py3"),
("pip", _PIP_VERSION, "py3"),
@@ -41,7 +41,7 @@ def _find_packages(path):
# comparison since this case should not happen.
filenames = sorted(filenames)
for filename in filenames:
- # filename is like 'pip-20.2.3-py2.py3-none-any.whl'
+ # filename is like 'pip-21.2.4-py3-none-any.whl'
if not filename.endswith(".whl"):
continue
for name in _PACKAGE_NAMES:
@@ -51,7 +51,7 @@ def _find_packages(path):
else:
continue
- # Extract '20.2.2' from 'pip-20.2.2-py2.py3-none-any.whl'
+ # Extract '21.2.4' from 'pip-21.2.4-py3-none-any.whl'
version = filename.removeprefix(prefix).partition('-')[0]
wheel_path = os.path.join(path, filename)
packages[name] = _Package(version, None, wheel_path)
diff --git a/Lib/ensurepip/_bundled/pip-21.2.3-py3-none-any.whl b/Lib/ensurepip/_bundled/pip-21.2.3-py3-none-any.whl
deleted file mode 100644
index d417df6..0000000
--- a/Lib/ensurepip/_bundled/pip-21.2.3-py3-none-any.whl
+++ /dev/null
Binary files differ
diff --git a/Lib/ensurepip/_bundled/pip-21.2.4-py3-none-any.whl b/Lib/ensurepip/_bundled/pip-21.2.4-py3-none-any.whl
new file mode 100644
index 0000000..46d3012
--- /dev/null
+++ b/Lib/ensurepip/_bundled/pip-21.2.4-py3-none-any.whl
Binary files differ
diff --git a/Lib/ensurepip/_bundled/setuptools-57.4.0-py3-none-any.whl b/Lib/ensurepip/_bundled/setuptools-58.1.0-py3-none-any.whl
index af8f8ba..18c8c22 100644
--- a/Lib/ensurepip/_bundled/setuptools-57.4.0-py3-none-any.whl
+++ b/Lib/ensurepip/_bundled/setuptools-58.1.0-py3-none-any.whl
Binary files differ