Respect [pip] settings for uv pip check (#15514)
## Summary Oversight from #15486.
This commit is contained in:
@@ -916,8 +916,8 @@ async fn run(mut cli: Cli) -> Result<ExitStatus> {
|
||||
commands::pip_check(
|
||||
args.settings.python.as_deref(),
|
||||
args.settings.system,
|
||||
args.python_version.as_ref(),
|
||||
args.python_platform.as_ref(),
|
||||
args.settings.python_version.as_ref(),
|
||||
args.settings.python_platform.as_ref(),
|
||||
&cache,
|
||||
printer,
|
||||
globals.preview,
|
||||
|
||||
@@ -2589,8 +2589,6 @@ impl PipTreeSettings {
|
||||
#[derive(Debug, Clone)]
|
||||
pub(crate) struct PipCheckSettings {
|
||||
pub(crate) settings: PipSettings,
|
||||
pub(crate) python_version: Option<PythonVersion>,
|
||||
pub(crate) python_platform: Option<TargetTriple>,
|
||||
}
|
||||
|
||||
impl PipCheckSettings {
|
||||
@@ -2609,12 +2607,12 @@ impl PipCheckSettings {
|
||||
PipOptions {
|
||||
python: python.and_then(Maybe::into_option),
|
||||
system: flag(system, no_system, "system"),
|
||||
python_version,
|
||||
python_platform,
|
||||
..PipOptions::default()
|
||||
},
|
||||
filesystem,
|
||||
),
|
||||
python_version,
|
||||
python_platform,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user