uv/docs
Zanie Blue fb1d679f69
Improve interactions with existing Python executables during install (#8733)
Previously, we'd use the `--reinstall` flag to determine if we should
replace existing Python executables in the bin directory during an
install. There are a few problems with this:

- We replace executables we don't manage
- We can replace executables from other uv Python installations during
reinstall (surprising)
- We don't do the "right" thing when installing patch versions e.g.
installing `3.12.4` then `3.12.6` would fail without the reinstall flag

In `uv tool`, we have separate `--force` and `--reinstall` concepts.
Here we separate the flags (`--force` was previously just a
`--reinstall` alias) and add inspection of the existing executables to
inform a decision on replacement.

In brief, we will:

- Replace any executables with `--force`
- Replace executables for the same installation with `--reinstall`
- Replace executables for an older patch version by default
2024-11-04 20:22:44 +00:00
..
.overrides Use | for page separator in meta titles (#6953) 2024-09-03 00:42:59 +00:00
assets Add `static` assets to docs pages (#6951) 2024-09-02 20:00:30 -04:00
concepts Fix indentation in `projects.md` (#8772) 2024-11-03 08:28:08 -06:00
configuration Add support for `.env` and custom env files in `uv run` (#8811) 2024-11-04 14:26:05 -05:00
getting-started Move the installation configuration docs to a separate page (#8546) 2024-10-24 16:04:21 -05:00
guides Skip existing, second iteration: Check the index before uploading (#8531) 2024-10-31 16:23:12 +01:00
js Improve copy of console command examples (#5397) 2024-07-31 14:52:02 +00:00
pip Add support for named and explicit indexes (#7481) 2024-10-15 18:24:23 -04:00
reference Improve interactions with existing Python executables during install (#8733) 2024-11-04 20:22:44 +00:00
stylesheets Fix table of contents sizing (#7751) 2024-09-27 22:59:38 -05:00
.gitignore Add structured documentation (#4426) 2024-06-26 11:28:42 -05:00
index.md Add reference to `uv build` and `uv publish` in the landing pages (#8542) 2024-10-24 15:56:54 -05: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 Reference the root requirements from the insiders requirements file (#5105) 2024-07-16 09:51:16 -05:00
requirements.in Migrate from MdBook to MkDocs (#5062) 2024-07-15 22:22:07 +00:00
requirements.txt Migrate from MdBook to MkDocs (#5062) 2024-07-15 22:22:07 +00:00