uv/docs
John Mumm f66ce58a09
Simplify managed Python flags (#12246)
Currently, for users to specify at the command line whether to use
uv-managed or system Python interpreters, they use the
`--python-preference` parameter, which takes four possible values. This
is more complex than necessary since the normal case is to either say
"only managed" or "not managed". This PR hides the old
`--python-preference` parameter from help and documentation and adds two
new flags: `--managed-python` and `--no-managed-python` to capture the
"only managed" and "not managed" cases.

I have successfully tested this locally but currently cannot add
snapshot tests because of problems with distinguishing managed vs.
system interpreters in CI (and non-determinism when run on different
developers' machines). The `--python-preference` test in
`tool-install.rs` is currently ignored for this reason. See #5144 and
#7473.

---------

Co-authored-by: Zanie Blue <contact@zanie.dev>
2025-03-18 18:13:14 +01:00
..
.overrides Add `last updated` for document (#11164) 2025-02-03 22:28:47 -05:00
assets Add static assets to docs pages (#6951) 2024-09-02 20:00:30 -04:00
concepts Simplify managed Python flags (#12246) 2025-03-18 18:13:14 +01:00
configuration Simplify managed Python flags (#12246) 2025-03-18 18:13:14 +01:00
getting-started Bump version to 0.6.7 (#12250) 2025-03-17 18:18:21 -05:00
guides Simplify managed Python flags (#12246) 2025-03-18 18:13:14 +01:00
js Add support for anchor redirects with client-side js (#9212) 2024-11-19 22:32:43 -06:00
pip add pip-compatible --group flag to uv pip install and uv pip compile (#11686) 2025-03-17 14:44:11 -04:00
reference Simplify managed Python flags (#12246) 2025-03-18 18:13:14 +01:00
stylesheets Remove the last edited date from documentation pages (#11753) 2025-02-24 13:27:00 -06:00
.gitignore Add structured documentation (#4426) 2024-06-26 11:28:42 -05:00
index.md Fix windows installation instructions mismatch (#11380) 2025-02-10 21:42:50 +01:00
requirements-insiders.in Reference the root requirements from the insiders requirements file (#5105) 2024-07-16 09:51:16 -05:00
requirements-insiders.txt Move content from the mkdocs.public.yml into the template (#11246) 2025-02-05 16:13:46 +00:00
requirements.in Add `last updated` for document (#11164) 2025-02-03 22:28:47 -05:00
requirements.txt Add `last updated` for document (#11164) 2025-02-03 22:28:47 -05:00