Skip to content

Commit

Permalink
Delete the preview default value of python-preference in the document. (
Browse files Browse the repository at this point in the history
#6301)

## Summary
I believe the default for the stable ``uv venv`` in [UV
v0.3.0](https://github.com/astral-sh/uv/releases/tag/0.3.0) is managed.
## Test Plan
Running a document server locally.

![image](https://github.com/user-attachments/assets/0f582f07-1332-424b-bb1b-82b19533e14e)
  • Loading branch information
FishAlchemist authored Aug 21, 2024
1 parent cd48553 commit 63c5e94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/uv-settings/src/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ pub struct GlobalOptions {
/// Whether to prefer using Python installations that are already present on the system, or
/// those that are downloaded and installed by uv.
#[option(
default = "\"only-system\" (stable) or \"managed\" (preview)",
default = "\"managed\"",
value_type = "str",
example = r#"
python-preference = "managed"
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -866,7 +866,7 @@ Whether to allow Python downloads.
Whether to prefer using Python installations that are already present on the system, or
those that are downloaded and installed by uv.

**Default value**: `"only-system" (stable) or "managed" (preview)`
**Default value**: `"managed"`

**Possible values**:

Expand Down

0 comments on commit 63c5e94

Please sign in to comment.