uv/crates/uv-python
Jo 172bff4aec
Organize downloads by prioritizing the platform, then the architecture. (#7900)
## Summary

PythonDownloadKey (cpython-3.13.0rc3-darwin-aarch64-none) and
PlatformTriple in `fetch-download-metadata.py` have a slight
inconsistency in the ordering of `os` and `arch`. In PythonDownloadKey,
`os` precedes `arch`, while in PlatformTriple, `arch` comes before
`platform` (equivalent to os). This difference in ordering affects the
sorting logic, giving arch higher priority than platform in the
`download-metadata.json` file, leading to a little bit of unexpected
order of entries.

Before:
<img width="676" alt="image"
src="https://github.com/user-attachments/assets/adb24a2e-da70-4a09-a702-4b5d71600b2c">
After:
<img width="725" alt="image"
src="https://github.com/user-attachments/assets/c6c76e6a-d3fd-43dc-bfb0-b3a4a3fe2b6b">
2024-10-03 10:51:21 -05:00
..
python Block Python <3.7 not only on linux (#7266) 2024-09-10 15:15:41 -05:00
src Organize downloads by prioritizing the platform, then the architecture. (#7900) 2024-10-03 10:51:21 -05:00
Cargo.toml Add uv- prefix to all internal crates (#7853) 2024-10-01 20:15:32 -04:00
download-metadata.json Organize downloads by prioritizing the platform, then the architecture. (#7900) 2024-10-03 10:51:21 -05:00
fetch-download-metadata.py Organize downloads by prioritizing the platform, then the architecture. (#7900) 2024-10-03 10:51:21 -05:00
template-download-metadata.py Deprecate the --isolated flag (#5466) 2024-07-30 22:40:38 +00:00