Hide freethreaded+debug Python downloads in `uv python list` (#15985)

ref https://github.com/astral-sh/uv/issues/15983#issuecomment-3319579833
This commit is contained in:
Zanie Blue 2025-09-22 12:24:10 -05:00 committed by GitHub
parent 6263d1008d
commit 1224f65b13
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ pub(crate) async fn list(
.into_iter() .into_iter()
.flatten() .flatten()
// TODO(zanieb): Add a way to show debug downloads, we just hide them for now // TODO(zanieb): Add a way to show debug downloads, we just hide them for now
.filter(|download| download.key().variant() != &uv_python::PythonVariant::Debug); .filter(|download| !download.key().variant().is_debug());
for download in downloads { for download in downloads {
output.insert(( output.insert((