Use install_only python archive (#4843)

## Summary

Resolves #4834

## Test Plan

```sh
# 3.12.3 is a `install_only` archive
$ cargo run -- python install --preview --force 3.12.3

# 3.9.4 has only `full` archive
$ cargo run -- python install --preview --force 3.9.4
```
This commit is contained in:
Jo 2024-07-07 10:43:55 +08:00 committed by GitHub
parent 7117359ca9
commit 2c214e7585
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 1508 additions and 1495 deletions

View file

@ -33,6 +33,7 @@ HEADERS = {
}
VERSIONS_FILE = SELF_DIR / "download-metadata.json"
FLAVOR_PREFERENCES = [
"install_only",
"shared-pgo",
"shared-noopt",
"shared-noopt",
@ -44,7 +45,6 @@ FLAVOR_PREFERENCES = [
HIDDEN_FLAVORS = [
"debug",
"noopt",
"install_only",
]
SPECIAL_TRIPLES = {
"macos": "x86_64-apple-darwin",