mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 10:58:28 +00:00
Add uv python list --all-arches
(#9782)
With #9781 this becomes even more compelling. This is generally useful as well. e.g., ``` ❯ cargo run -- python list --all-arches cpython-3.13.1+freethreaded-macos-x86_64-none <download available> cpython-3.13.1-macos-x86_64-none <download available> cpython-3.13.1+freethreaded-macos-aarch64-none <download available> cpython-3.13.1-macos-aarch64-none <download available> cpython-3.13.0-macos-aarch64-none /Users/zb/.local/bin/python3.13 -> /Users/zb/.local/share/uv/python/cpython-3.13.0-macos-aarch64-none/bin/python3.13 cpython-3.13.0-macos-aarch64-none /Users/zb/.local/bin/python3 -> /Users/zb/.local/share/uv/python/cpython-3.13.0-macos-aarch64-none/bin/python3.13 cpython-3.13.0-macos-aarch64-none /Users/zb/.local/bin/python -> /Users/zb/.local/share/uv/python/cpython-3.13.0-macos-aarch64-none/bin/python3.13 cpython-3.13.0-macos-aarch64-none /Users/zb/.local/share/uv/python/cpython-3.13.0-macos-aarch64-none/bin/python3.13 cpython-3.12.8-macos-x86_64-none <download available> cpython-3.12.8-macos-aarch64-none <download available> ... ```
This commit is contained in:
parent
4a21daff49
commit
6523d90da1
6 changed files with 25 additions and 2 deletions
|
@ -4222,6 +4222,12 @@ pub struct PythonListArgs {
|
|||
#[arg(long)]
|
||||
pub all_platforms: bool,
|
||||
|
||||
/// List Python downloads for all architectures.
|
||||
///
|
||||
/// By default, only downloads for the current architecture are shown.
|
||||
#[arg(long, alias = "all_architectures")]
|
||||
pub all_arches: bool,
|
||||
|
||||
/// Only show installed Python versions, exclude available downloads.
|
||||
///
|
||||
/// By default, available downloads for the current platform are shown.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue