uv/crates/uv-python
Charlie Marsh 461f4d9007
Make interpreter caching robust to OS upgrades (#11875)
## Summary

In. https://github.com/astral-sh/uv/issues/11857, we had a case of a
user that was seeing incorrect resolution results after upgrading to a
newer version of macOS, since we retained cache information about the
interpreter. This PR adds the OS name and version to the cache key for
the interpreter. This seems to be extremely cheap, and it's nice to make
this robust so that users don't run into the same confusion in the
future.

Closes https://github.com/astral-sh/uv/issues/11857.
2025-03-02 01:36:38 +00:00
..
python Catch broken mac_ver() (#11396) 2025-02-10 22:49:16 +01:00
src Make interpreter caching robust to OS upgrades (#11875) 2025-03-02 01:36:38 +00:00
Cargo.toml Make interpreter caching robust to OS upgrades (#11875) 2025-03-02 01:36:38 +00:00
download-metadata.json Make fetch python downloads deterministic (#11572) 2025-02-17 08:36:38 -06:00
fetch-download-metadata.py Make fetching github releases faster (#11614) 2025-02-19 08:57:56 -06:00
template-download-metadata.py Update riscv64 Python downloads to allow install on riscv64gc (#10937) 2025-01-24 09:33:29 -06:00