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

This commit is contained in:
foreignmeloman 2024-10-15 14:26:19 +04:00 committed by GitHub
parent aa18fd55d5
commit fcef3fc9a5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -306,7 +306,7 @@ class EnvBuilder:
suffixes = ['python', 'python3', f'python3.{sys.version_info[1]}']
if sys.version_info[:2] == (3, 14):
suffixes.append('python𝜋')
suffixes.append('𝜋thon')
for suffix in suffixes:
path = os.path.join(binpath, suffix)
if not os.path.exists(path):