-
Notifications
You must be signed in to change notification settings - Fork 1.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
Skip python.exe
with uv install python --default
#9817
Comments
Oof. Hm.. I guess a Would an environment variable be sufficient?
Would it be feasible to specify the full path to your 2.7 interpreter? Or adjust the Thanks for reporting! |
Yeah, that could work. We could set that globally in our uv installation script (not that different from setting it in the
Not easily. We need to support a mixed environment where legacy scripts expect Also feel free to decide that uv isn't going to go out of its way to support coexistence with Python 2. That'll make me sad because |
Another question, is there a way you're invoking I think some flag here is reasonable, just need to figure out how to express it. |
Python 2 is typically invoked via the shebang in the the Python script (e.g. |
I love the
uv python install --default
feature (#8650), but it creates apython.exe
executable in addition to apython3.exe
executable. Unfortunately, we still needpython.exe
to resolve to a Python 2.7 interpreter for the time being. Would you be willing to add auv.toml
setting or an alternative--default-py3only
arg or something that limits the feature to only managingpython3.exe
. Similar issue on Linux, but I'm specifically looking at the Windows behavior.The text was updated successfully, but these errors were encountered: