mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-02 18:12:17 +00:00
Revert "Env variables for python downloads" (#6431)
This reverts commit bbd9adaa40
from #6416
— the Python download variable is not aligned with the setting.
This commit is contained in:
parent
582e5a316f
commit
fc9fdd2dbb
3 changed files with 24 additions and 50 deletions
|
@ -115,30 +115,16 @@ pub struct GlobalArgs {
|
|||
global = true,
|
||||
long,
|
||||
help_heading = "Python options",
|
||||
display_order = 700,
|
||||
env = "UV_PYTHON_PREFERENCE"
|
||||
display_order = 700
|
||||
)]
|
||||
pub python_preference: Option<PythonPreference>,
|
||||
|
||||
/// Allow automatically downloading Python when required.
|
||||
#[arg(
|
||||
global = true,
|
||||
long,
|
||||
help_heading = "Python options",
|
||||
hide = true,
|
||||
value_parser = clap::builder::BoolishValueParser::new(),
|
||||
env = "UV_ALLOW_PYTHON_DOWNLOADS"
|
||||
)]
|
||||
#[arg(global = true, long, help_heading = "Python options", hide = true)]
|
||||
pub allow_python_downloads: bool,
|
||||
|
||||
/// Disable automatic downloads of Python.
|
||||
#[arg(
|
||||
global = true,
|
||||
long,
|
||||
help_heading = "Python options",
|
||||
value_parser = clap::builder::BoolishValueParser::new(),
|
||||
env = "UV_NO_PYTHON_DOWNLOADS"
|
||||
)]
|
||||
#[arg(global = true, long, help_heading = "Python options")]
|
||||
pub no_python_downloads: bool,
|
||||
|
||||
/// Deprecated version of [`Self::python_downloads`].
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue