mirror of https://github.com/astral-sh/uv
Propagate preview flag to client for `native-auth` feature (#15872)
Somehow propagation of this got dropped during a rebase, so we never actually used the native store during resolution. Part of https://github.com/astral-sh/uv/issues/15818
This commit is contained in:
parent
d706c07ae3
commit
0aa3c4e094
|
|
@ -152,8 +152,10 @@ impl BaseClientBuilder<'_> {
|
|||
connectivity: Connectivity,
|
||||
native_tls: bool,
|
||||
allow_insecure_host: Vec<TrustedHost>,
|
||||
preview: Preview,
|
||||
) -> Self {
|
||||
Self {
|
||||
preview,
|
||||
allow_insecure_host,
|
||||
native_tls,
|
||||
connectivity,
|
||||
|
|
|
|||
|
|
@ -174,6 +174,7 @@ async fn run(mut cli: Cli) -> Result<ExitStatus> {
|
|||
settings.network_settings.connectivity,
|
||||
settings.network_settings.native_tls,
|
||||
settings.network_settings.allow_insecure_host,
|
||||
settings.preview,
|
||||
)
|
||||
.retries_from_env()?;
|
||||
Some(
|
||||
|
|
@ -438,6 +439,7 @@ async fn run(mut cli: Cli) -> Result<ExitStatus> {
|
|||
globals.network_settings.connectivity,
|
||||
globals.network_settings.native_tls,
|
||||
globals.network_settings.allow_insecure_host.clone(),
|
||||
globals.preview,
|
||||
)
|
||||
.retries_from_env()?;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue