mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 21:35:00 +00:00
Add --disable-pip-version-check
to compatibility arguments (#4672)
## Summary Closes https://github.com/astral-sh/uv/issues/4590.
This commit is contained in:
parent
d5501274d8
commit
8ea47ab45f
3 changed files with 59 additions and 3 deletions
|
@ -1205,6 +1205,9 @@ pub struct PipUninstallArgs {
|
|||
/// Uninstall packages from the specified `--prefix` directory.
|
||||
#[arg(long, conflicts_with = "target")]
|
||||
pub prefix: Option<PathBuf>,
|
||||
|
||||
#[command(flatten)]
|
||||
pub compat_args: compat::PipGlobalCompatArgs,
|
||||
}
|
||||
|
||||
#[derive(Args)]
|
||||
|
@ -1255,6 +1258,9 @@ pub struct PipFreezeArgs {
|
|||
|
||||
#[arg(long, overrides_with("system"), hide = true)]
|
||||
pub no_system: bool,
|
||||
|
||||
#[command(flatten)]
|
||||
pub compat_args: compat::PipGlobalCompatArgs,
|
||||
}
|
||||
|
||||
#[derive(Args)]
|
||||
|
@ -1407,6 +1413,9 @@ pub struct PipShowArgs {
|
|||
|
||||
#[arg(long, overrides_with("system"), hide = true)]
|
||||
pub no_system: bool,
|
||||
|
||||
#[command(flatten)]
|
||||
pub compat_args: compat::PipGlobalCompatArgs,
|
||||
}
|
||||
|
||||
#[derive(Args)]
|
||||
|
@ -1468,6 +1477,9 @@ pub struct PipTreeArgs {
|
|||
|
||||
#[arg(long, overrides_with("system"))]
|
||||
pub no_system: bool,
|
||||
|
||||
#[command(flatten)]
|
||||
pub compat_args: compat::PipGlobalCompatArgs,
|
||||
}
|
||||
|
||||
#[derive(Args)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue