mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 19:08:04 +00:00
Introduce a --fork-strategy
preference mode (#9868)
## Summary This PR makes the behavior in https://github.com/astral-sh/uv/pull/9827 the default: we try to select the latest supported package version for each supported Python version, but we still optimize for choosing fewer versions when stratifying by platform. However, you can opt out with `--fork-strategy fewest`. Closes https://github.com/astral-sh/uv/issues/7190.
This commit is contained in:
parent
0ee21146f4
commit
b2459e6326
35 changed files with 699 additions and 48 deletions
|
@ -82,6 +82,11 @@ use this space-separated list of URLs as additional indexes when searching for p
|
|||
Equivalent to the `--find-links` command-line argument. If set, uv will use this
|
||||
comma-separated list of additional locations to search for packages.
|
||||
|
||||
### `UV_FORK_STRATEGY`
|
||||
|
||||
Equivalent to the `--fork-strategy` argument. Controls version selection during universal
|
||||
resolution.
|
||||
|
||||
### `UV_FROZEN`
|
||||
|
||||
Equivalent to the `--frozen` command-line argument. If set, uv will run without
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue