diff options
author | Pradyun Gedam <pradyunsg@gmail.com> | 2023-04-17 23:43:34 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-17 23:43:34 -0500 |
commit | ece20dba120a1a4745721c49f8d7389d4b1ee2a7 (patch) | |
tree | bcf21108159d242e4067f4ef9a1304d7f10a7f8a /Tools | |
parent | f39e00f9521a0d412a5fc9a50f2a553ec2bb1a7c (diff) | |
download | cpython-git-ece20dba120a1a4745721c49f8d7389d4b1ee2a7.tar.gz |
gh-95299: Stop installing setuptools as a part of ensurepip and venv (#101039)
Remove the bundled setuptools wheel from ensurepip, and stop installing setuptools in environments created by venv.
Co-Authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/build/verify_ensurepip_wheels.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/build/verify_ensurepip_wheels.py b/Tools/build/verify_ensurepip_wheels.py index 044d1fd6b3..09fd5d9e31 100755 --- a/Tools/build/verify_ensurepip_wheels.py +++ b/Tools/build/verify_ensurepip_wheels.py @@ -14,7 +14,7 @@ import re from pathlib import Path from urllib.request import urlopen -PACKAGE_NAMES = ("pip", "setuptools") +PACKAGE_NAMES = ("pip",) ENSURE_PIP_ROOT = Path(__file__).parent.parent.parent / "Lib/ensurepip" WHEEL_DIR = ENSURE_PIP_ROOT / "_bundled" ENSURE_PIP_INIT_PY_TEXT = (ENSURE_PIP_ROOT / "__init__.py").read_text(encoding="utf-8") |