Fix uv python list --only-downloads --all-arches

Depends on #12931
This commit is contained in:
Jo 2025-04-18 05:33:05 +08:00
parent 6bce5d712f
commit 0ea118077d
No known key found for this signature in database

View file

@ -78,6 +78,8 @@ pub(crate) async fn list(
PythonListKinds::Installed => None, PythonListKinds::Installed => None,
PythonListKinds::Downloads => Some(if all_platforms { PythonListKinds::Downloads => Some(if all_platforms {
base_download_request base_download_request
} else if all_arches {
base_download_request.fill_platform()?.with_any_arch()
} else { } else {
base_download_request.fill_platform()? base_download_request.fill_platform()?
}), }),