Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS: python3t shortcuts missing(?) #120286

Open
henryiii opened this issue Jun 9, 2024 · 3 comments
Open

macOS: python3t shortcuts missing(?) #120286

henryiii opened this issue Jun 9, 2024 · 3 comments
Assignees
Labels
3.13 bugs and security fixes 3.14 new features, bugs and security fixes OS-mac topic-installation type-bug An unexpected behavior, bug, or error

Comments

@henryiii
Copy link
Contributor

henryiii commented Jun 9, 2024

Bug report

Bug description:

Installing Python creates python3 aliases, but there doesn't seem to be a matching python3t alias. There's a python3.13t, but python3t would be more future proof for a shabang, etc. This is what macOS installs:

cibuildwheel % find /Library/Frameworks/PythonT.framework/Versions/3.13/bin/
/Library/Frameworks/PythonT.framework/Versions/3.13/bin/
/Library/Frameworks/PythonT.framework/Versions/3.13/bin//python3.13t
/Library/Frameworks/PythonT.framework/Versions/3.13/bin//python3.13t-config
/Library/Frameworks/PythonT.framework/Versions/3.13/bin//pip3.13
/Library/Frameworks/PythonT.framework/Versions/3.13/bin//pip3
/Library/Frameworks/PythonT.framework/Versions/3.13/bin//pip
/Library/Frameworks/PythonT.framework/Versions/3.13/bin//python3.13

There's pip aliases, but no python3t (this is also missing python3, though it has python3.13. I'm not sure if this is macOS specific, or if python3t is being avoided for now, or if it's just not come up yet, I didn't see it mentioned in issues.

From pypa/cibuildwheel#1856 (comment).

CPython versions tested on:

3.13

Operating systems tested on:

macOS

Linked PRs

@henryiii henryiii added the type-bug An unexpected behavior, bug, or error label Jun 9, 2024
@hugovk hugovk added OS-mac topic-installation 3.13 bugs and security fixes 3.14 new features, bugs and security fixes labels Jun 9, 2024
@hugovk
Copy link
Member

hugovk commented Jun 9, 2024

Is this only for macOS, or also Windows?

@mayeut
Copy link

mayeut commented Jun 9, 2024

It's the same on Windows (looking at the nugget package):

~ % find Downloads/python-freethreaded.3.13.0-b2.nupkg/tools -name 'python*.exe'
Downloads/python-freethreaded.3.13.0-b2.nupkg/tools/pythonw3.13t.exe
Downloads/python-freethreaded.3.13.0-b2.nupkg/tools/pythonw.exe
Downloads/python-freethreaded.3.13.0-b2.nupkg/tools/python.exe
Downloads/python-freethreaded.3.13.0-b2.nupkg/tools/python3.13t.exe

@zooba
Copy link
Member

zooba commented Jun 10, 2024

Windows has never included any aliases. We only have python3.13t because that's what the steering council said would be the equivalent of python.

Adding python3 aliases to Windows is a huge topic of its own, which I'm not prepared to approach just yet (massive back-compat risks, basically). The Store package includes them because we don't have the same risks there.

@zooba zooba removed the OS-windows label Jun 10, 2024
@zooba zooba removed their assignment Jun 10, 2024
@vstinner vstinner changed the title python3t shortcuts missing(?) macOS: python3t shortcuts missing(?) Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.13 bugs and security fixes 3.14 new features, bugs and security fixes OS-mac topic-installation type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

5 participants