-
Notifications
You must be signed in to change notification settings - Fork 891
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
Windows 3.13t installation missing python.exe #8298
Comments
python/cpython#112984 (comment) says
so I guess we should add one in our installs? I wonder if we should do that upstream or here. |
My suggestion would be to rename the |
As far as I know, we're just following the standard Windows build behavior there (not including version numbers), and it's proper for us to continue doing so for Since they suggest creating a copy, I think that's what I'll do? Exploring in astral-sh/python-build-standalone#373 |
cc @zooba if you care to weigh in on what is best here. |
As a overall suggestion: I think you should be aiming for cross-platform consistency -- For example, I think all of the following commands should work on all platforms:
|
Yeah, I largely agree with Sam here, cross-platform consistency is for the best. We only don't do that in the Windows installer because it's a change that will definitely break people, and I don't want to upset people more until we've actually got a sustainable path forward. |
Great thanks for the input! I'll rename it upstream — makes life a bit easier anyway. I'm not sure what the best approach will be to address your Thanks again @colesbury for following up on our handling of these distributions, there are definitely some quirks to be ironed out. |
A temporary fix for #8298 while we wait for my slower upstream fix at astral-sh/python-build-standalone#373 I think we'll want this machinery anyway to ensure that the various executable names are available? Otherwise we need to special-case all the `python` names in `uv run`? We don't have unit test coverage of managed downloads, so I added an [integration test](https://github.com/astral-sh/uv/actions/runs/11394150653/job/31703956805?pr=8310) similar to what we have for Linux.
@zanieb - running I've run into some other confusing behavior where
|
@colesbury I added #8310 as a temporary workaround in uv — just much easier to land a quick change here than upstream. I'll try to look into that |
Will be fixed in the next upstream release too |
Tragically, changing the path upstream post-build breaks virtual environments. See astral-sh/python-build-standalone#405 Any insights would be appreciated! |
The installation directory has a
python3.13t.exe
, but nopython.exe
This also affects other commands like
uv venv
.The text was updated successfully, but these errors were encountered: