uv/docs/reference
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
..
benchmarks.md Add link to benchmarks in documentation (#6257) 2024-08-20 12:54:46 -04:00
build_failures.md Add help page for build failures (#8286) 2024-10-22 13:35:54 +02:00
cli.md Improve interactions with existing Python executables during install (#8733) 2024-11-04 20:22:44 +00:00
index.md Disable collapsible navigation in the documentation (#5674) 2024-08-16 18:09:21 -05:00
platforms.md Add 3.13 support to the platform reference (#7971) 2024-10-07 12:06:43 -05:00
resolver-internals.md Fix up reference to environment markers in resolver reference (#6773) 2024-08-28 18:00:43 -04:00
settings.md Update reference documentation for PEP 735 (#8567) 2024-10-25 13:27:37 -05:00
versioning.md Enforce lockfile schema versions (#8509) 2024-10-24 12:23:56 -04:00