mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-31 07:47:27 +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
|
@ -144,6 +144,12 @@ impl PythonDownloadRequest {
|
|||
self
|
||||
}
|
||||
|
||||
#[must_use]
|
||||
pub fn with_any_arch(mut self) -> Self {
|
||||
self.arch = None;
|
||||
self
|
||||
}
|
||||
|
||||
#[must_use]
|
||||
pub fn with_os(mut self, os: Os) -> Self {
|
||||
self.os = Some(os);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue