mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 19:08:04 +00:00
document --reinstall with --exclude-newer to ensure downgrades (#6721)
fixes #6676
This commit is contained in:
parent
1c5309080b
commit
7b9b690b02
1 changed files with 6 additions and 0 deletions
|
@ -357,6 +357,12 @@ To ensure reproducibility, messages for unsatisfiable resolutions will not menti
|
|||
distributions were excluded due to the `--exclude-newer` flag — newer distributions will be treated
|
||||
as if they do not exist.
|
||||
|
||||
!!! note
|
||||
|
||||
The `--exclude-newer` option is only applied to packages that are read from a registry (as opposed to, e.g., Git
|
||||
dependencies). Further, when using the `uv pip` interface, uv will not downgrade previously installed packages
|
||||
unless the `--reinstall` flag is provided, in which case uv will perform a new resolution.
|
||||
|
||||
## Source distribution
|
||||
|
||||
[PEP 625](https://peps.python.org/pep-0625/) specifies that packages must distribute source
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue