Conversation
For uv>=0.2.0 behavior
## 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 :)
dpoznik
approved these changes
Jun 6, 2024
Contributor
dpoznik
left a comment
There was a problem hiding this comment.
This reads well and clarifies a few points. Thanks!
Some minor typographical suggestions below; feel free to ignore.
Co-authored-by: David Poznik <dpoznik@23andme.com>
| a directory that is **not** a [PEP 405 compliant](https://peps.python.org/pep-0405/#specification) | ||
| virtual environment, it will be ignored. | ||
|
|
||
| uv can also install into arbitrary, even non-virtual environments, with the `--python` argument |
Member
There was a problem hiding this comment.
This is confusing because --system is required for this now, right?
Member
Author
There was a problem hiding this comment.
No, if it's explicit (i.e. that path to the executable or its directory) we do not require the --system flag.
charliermarsh
approved these changes
Jun 10, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
For uv>=0.2.0 behavior
Closes #3951