fix: make uv use system certstore (#4386)

This commit is contained in:
llama 2025-10-27 20:19:28 +08:00 committed by GitHub
parent 23263caea2
commit a05c90cbce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1015,6 +1015,9 @@ fn uv_command(state: &State) -> Result<Command> {
.env("UV_DEFAULT_INDEX", &pypi_mirror); .env("UV_DEFAULT_INDEX", &pypi_mirror);
} }
// have uv use the system certstore instead of webpki-roots'
command.env("UV_NATIVE_TLS", "1");
Ok(command) Ok(command)
} }