f7d1215a98
## Summary Addresses #16709. Now specifying a simple version with `--python` or specifying a version using `--python-version` will result in the specified version getting downloaded with a fallback to the previous behaviour if the download fails for some transient reason or if downloads are disabled. The behaviour of how `--python` gets treated as `--python-version`, if a "simple version" is specified, is kept. This means that `--python 3.7` turns into a soft requirement. This seems at odds with how other similar parts of UV work, but there seem to be quite a few tests which test for this specific behaviour and I think this is best saved for a separate issue. ## Test Plan I added a test case which would previously fall back to the default interpreter and warn about it. --------- Co-authored-by: Zanie Blue <contact@zanie.dev>
uv-python
This crate is an internal component of uv. The Rust API exposed here is unstable and will have frequent breaking changes.
This version (0.0.15) is a component of uv 0.9.26. The source can be found here.
See uv's crate versioning policy for details on versioning.