gh-119535: 3.15 minus π (#134037)

* Revert "gh-119535: Support 𝜋thon in Python 3.14 venvs (#125035)"

This reverts commit fcef3fc9a5.

* Revert "gh-119535: python𝜋 (#119536)"

This reverts commit 3fc673e97d.
This commit is contained in:
Hugo van Kemenade 2025-05-15 12:39:42 +03:00 committed by GitHub
parent 7eaa097390
commit 54a6875adb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -313,11 +313,8 @@ class EnvBuilder:
copier(context.executable, path)
if not os.path.islink(path):
os.chmod(path, 0o755)
suffixes = ['python', 'python3', f'python3.{sys.version_info[1]}']
if sys.version_info[:2] == (3, 14):
suffixes.append('𝜋thon')
for suffix in suffixes:
for suffix in ('python', 'python3',
f'python3.{sys.version_info[1]}'):
path = os.path.join(binpath, suffix)
if not os.path.exists(path):
# Issue 18807: make copies if