mirror of https://github.com/astral-sh/uv
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:
parent
6263d1008d
commit
1224f65b13
|
|
@ -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((
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue