Skip to content

Commit

Permalink
Revert "Upgrade bundled versions of pip & setuptools (#16782)" (GH-20484
Browse files Browse the repository at this point in the history
)

This reverts commit feb0846.
  • Loading branch information
vstinner authored May 28, 2020
1 parent 5f4b229 commit 4fd4963
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
12 changes: 6 additions & 6 deletions Lib/ensurepip/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
__all__ = ["version", "bootstrap"]


_SETUPTOOLS_VERSION = "46.1.3"
_SETUPTOOLS_VERSION = "41.2.0"

_PIP_VERSION = "20.1"
_PIP_VERSION = "19.2.3"

_PROJECTS = [
("setuptools", _SETUPTOOLS_VERSION, 'py3'),
("pip", _PIP_VERSION, 'py2.py3'),
("setuptools", _SETUPTOOLS_VERSION),
("pip", _PIP_VERSION),
]


Expand Down Expand Up @@ -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, py_tag in _PROJECTS:
wheel_name = "{}-{}-{}-none-any.whl".format(project, version, py_tag)
for project, version in _PROJECTS:
wheel_name = "{}-{}-py2.py3-none-any.whl".format(project, version)
whl = resources.read_binary(
_bundled,
wheel_name,
Expand Down
Binary file not shown.
Binary file removed Lib/ensurepip/_bundled/pip-20.1-py2.py3-none-any.whl
Binary file not shown.
Binary file not shown.

This file was deleted.

0 comments on commit 4fd4963

Please sign in to comment.