-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Having two identical executables for free-threaded version is misleading #3015
Comments
Both the interpreters are free-threaded. See https://github.com/orgs/pyenv/discussions/2998#discussioncomment-9919105 .
|
We did this because that's what the build produces. This is how it's supposed to be in Linux, according to @hugovk . I doubt we'll be doing users a favor by distorting the build results -- since they'll be seeing the same result in other ecosystems. |
Exactly, which differs from how the Python.org installer works. pyenv splits that into two installable versions, FWIW, this is not a blocker for anything, a minor nit-pick. It just had me confused to see two copies of identical interpreters. |
The key word is installer . If you check the discussion on the link, the installer contains two builds of CPython. We could do the same here, and we considered that option -- but it seems that for Linux (and for building from source in general), the upstream rather chose to provide either one or the other, and they cannot be installed alongside anyway as of now due to a bug. |
@colesbury, any thoughts on this? |
I think this would be better addressed upstream in CPython. We know there's some work left to do with duplicated symlinks (e.g., see Ned's comment here). Let's figure that out first. |
When installing Python 3.13 using the installer from Python.org, and enabling free-threading option two binaries are created:
python3.13
with free-threading disabled, andpython3.13t
with free-threading enabled.When installing 3.13t-dev with pyenv, also two separate binaries are created, but with pyenv build these are exactly identical binaries, both are compiled with free-threading.
To better indicate that they are exactly the same thing this should be a symlink, alternatively
python3.13
(without thet
) shouldn't be there at all.Actual:
Expected:
Alternatively
python3.13
could be skipped altogether:This is related to #2995
Prerequisite
pyenv
and the defaultpython-build
plugin only. Please refrain from reporting issues of other plugins here.Description
The text was updated successfully, but these errors were encountered: