-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
uv pip
ignores .python-version
file
#9581
Comments
Can you share the specific Regardless, the goal of the |
Agreed, I believe this would be a breaking change |
I am using uv in the build of an extension. First, I use the command |
Having a "single source of truth" for the python version in either It would be nice if for example If it is too tricky or undesirable to untangle with the current default / pip compatibility for the version of the Python interpreter used, then perhaps a new option could be added like |
I can reproduce this issue. .python-version:
pyproject.toml
Result of The default system python, though, is 3.9: So
The same happens with However, if I specify
So not only it ignores Edit: using |
With #11486 we'll respect |
Can confirm with 0.6.0 that |
Currently, for any
uv pip
commands, you must explicitly specify the--python-version
option. The.python-version
file is ignored. Why?uv 0.5.4
Windows 10
The text was updated successfully, but these errors were encountered: