uv icon indicating copy to clipboard operation
uv copied to clipboard

`uv toolchain uninstall` repeats "No installations" message

Open charliermarsh opened this issue 1 year ago • 2 comments

Can we omit this in most cases? All cases?

❯ cargo run -- python uninstall 3.12
   Compiling uv v0.2.21 (/Users/crmarsh/workspace/uv/crates/uv)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.20s
     Running `target/debug/uv python uninstall 3.12`
warning: `uv python uninstall` is experimental and may change without warning.
Looking for Python installations matching Python 3.12 (any-3.12-any-any-any)
No installations found matching Python 3.12
No installations found matching the request

charliermarsh avatar Jul 04 '24 17:07 charliermarsh

It's a little more sane with a couple requests:

❯ cargo run -q -- python uninstall 3.11 3.12
warning: `uv python uninstall` is experimental and may change without warning.
Looking for Python installations matching Python 3.11 (any-3.11-any-any-any)
No installations found matching Python 3.11
Looking for Python installations matching Python 3.12 (any-3.12-any-any-any)
No installations found matching Python 3.12
No installations found matching the requests

It seems like we could adjust it when there's one or make some of the lines tracing output?

zanieb avatar Jul 04 '24 19:07 zanieb

Yeah agreed.

charliermarsh avatar Jul 04 '24 19:07 charliermarsh