mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 21:35:00 +00:00
Fix missing display of non-freethreaded Python 3.13 in python list
(#9669)
Closes https://github.com/indygreg/python-build-standalone/issues/407 ``` ❯ cargo run -q -- python list | head -n 2 cpython-3.13.0+freethreaded-macos-aarch64-none <download available> cpython-3.13.0-macos-aarch64-none <download available> ❯ uv python list | head -n 2 cpython-3.13.0+freethreaded-macos-aarch64-none <download available> cpython-3.12.7-macos-aarch64-none <download available> ```
This commit is contained in:
parent
f7f300e608
commit
b5022efef9
2 changed files with 6 additions and 0 deletions
|
@ -327,6 +327,10 @@ impl PythonInstallationKey {
|
|||
&self.libc
|
||||
}
|
||||
|
||||
pub fn variant(&self) -> &PythonVariant {
|
||||
&self.variant
|
||||
}
|
||||
|
||||
/// Return a canonical name for a minor versioned executable.
|
||||
pub fn executable_name_minor(&self) -> String {
|
||||
format!(
|
||||
|
|
|
@ -115,6 +115,7 @@ pub(crate) async fn list(
|
|||
*key.os(),
|
||||
*major,
|
||||
*minor,
|
||||
key.variant(),
|
||||
key.implementation(),
|
||||
*key.arch(),
|
||||
*key.libc(),
|
||||
|
@ -130,6 +131,7 @@ pub(crate) async fn list(
|
|||
*major,
|
||||
*minor,
|
||||
*patch,
|
||||
key.variant(),
|
||||
key.implementation(),
|
||||
*key.arch(),
|
||||
key.libc(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue