Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correctly document default value of fork-strategy setting #9931

Merged
merged 2 commits into from
Dec 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions crates/uv-settings/src/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ pub struct ResolverInstallerOptions {
/// preferring older versions that are compatible with a wider range of supported Python
/// versions or platforms.
#[option(
default = "\"fewest\"",
default = "\"requires-python\"",
value_type = "str",
example = r#"
fork-strategy = "fewest"
Expand Down Expand Up @@ -1099,7 +1099,7 @@ pub struct PipOptions {
/// preferring older versions that are compatible with a wider range of supported Python
/// versions or platforms.
#[option(
default = "\"fewest\"",
default = "\"requires-python\"",
value_type = "str",
example = r#"
fork-strategy = "fewest"
Expand Down
4 changes: 2 additions & 2 deletions docs/reference/settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,7 @@ Under `fewest`, uv will minimize the number of selected versions for each packag
preferring older versions that are compatible with a wider range of supported Python
versions or platforms.

**Default value**: `"fewest"`
**Default value**: `"requires-python"`

**Possible values**:

Expand Down Expand Up @@ -2158,7 +2158,7 @@ Under `fewest`, uv will minimize the number of selected versions for each packag
preferring older versions that are compatible with a wider range of supported Python
versions or platforms.

**Default value**: `"fewest"`
**Default value**: `"requires-python"`

**Possible values**:

Expand Down
Loading