-
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
--system
flag no longer working as documented
#3951
Comments
Thanks for the clear issue. I suspect the issue here is that the Python you're using appears to be that of a virtual environment, but |
Thanks for the quick reply! Since it sounds like the new behavior is intended, one solution may be to:
However, the underlying issue is that
I had been using Thanks! |
Since this issue may just reduce to a request to update the documentation around |
Does #4031 help? |
Hmm, I'm not sure. I think the primary issue is in the previous paragraph, specifically the phrase:
In uv 0.1.x, I believe Since, AFAICT, #4034 includes some suggestions. Feel free to use pieces of it or to ignore it completely. |
## Summary This meta-PR includes some suggestions for the docs on installing into arbitrary Python environments. It targets the branch in #4031 and is a response to #3951 (comment). Specifically, it: - Moves mention of `--python=$(which python)` out of the `--system` paragraph, as the two are no longer equivalent - Adds additional notes on how, currently, to install for the current interpreter. This section should be updated once #4009 is implemented :)
For uv>=0.2.0 behavior Closes #3951 --------- Co-authored-by: David Poznik <dpoznik@23andme.com>
I have been using
uv
in virtual environments managed bypyenv virtualenv
. The--system
flag worked great withuv
0.1.45 but does not work with 0.2.5, and the docs still suggest that it should still work:I understand that, currently, there are two work-arounds:
uv pip ... --python=$(which python)
python -m uv ...
But
--system
was more convenient, and it wasn't clear to me that it was intentional for it to have stopped working as previously.Successful usage of
--system
flag with 0.1.45:Unsuccessful usage of
--system
flag with 0.2.5:Thanks for your help with this issue and for developing this wonderful tool!
The text was updated successfully, but these errors were encountered: