Respect UV_PYTHON_DOWNLOAD_MIRROR in uv python list (#16673)

Closes https://github.com/astral-sh/uv/issues/16671

Mostly authored by Claude
This commit is contained in:
Zanie Blue
2025-12-18 11:29:48 -06:00
committed by GitHub
parent c1d3c9bdb2
commit 9949f0801f
5 changed files with 133 additions and 6 deletions
+1 -1
View File
@@ -1434,7 +1434,7 @@ impl ManagedPythonDownload {
/// Return the [`Url`] to use when downloading the distribution. If a mirror is set via the
/// appropriate environment variable, use it instead.
fn download_url(
pub fn download_url(
&self,
python_install_mirror: Option<&str>,
pypy_install_mirror: Option<&str>,