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:
Zanie Blue 2024-12-06 08:28:28 -06:00 committed by GitHub
parent f7f300e608
commit b5022efef9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

View file

@ -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!(

View file

@ -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(),