mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 10:58:28 +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
|
&self.libc
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub fn variant(&self) -> &PythonVariant {
|
||||||
|
&self.variant
|
||||||
|
}
|
||||||
|
|
||||||
/// Return a canonical name for a minor versioned executable.
|
/// Return a canonical name for a minor versioned executable.
|
||||||
pub fn executable_name_minor(&self) -> String {
|
pub fn executable_name_minor(&self) -> String {
|
||||||
format!(
|
format!(
|
||||||
|
|
|
@ -115,6 +115,7 @@ pub(crate) async fn list(
|
||||||
*key.os(),
|
*key.os(),
|
||||||
*major,
|
*major,
|
||||||
*minor,
|
*minor,
|
||||||
|
key.variant(),
|
||||||
key.implementation(),
|
key.implementation(),
|
||||||
*key.arch(),
|
*key.arch(),
|
||||||
*key.libc(),
|
*key.libc(),
|
||||||
|
@ -130,6 +131,7 @@ pub(crate) async fn list(
|
||||||
*major,
|
*major,
|
||||||
*minor,
|
*minor,
|
||||||
*patch,
|
*patch,
|
||||||
|
key.variant(),
|
||||||
key.implementation(),
|
key.implementation(),
|
||||||
*key.arch(),
|
*key.arch(),
|
||||||
key.libc(),
|
key.libc(),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue