uv/crates/uv-python
Zanie Blue 02345a5a7d
Add hint when Python downloads are disabled (#14522)
Follow-up to https://github.com/astral-sh/uv/pull/14509 to provide the
_reason_ downloads are disabled and surface it as a hint rather than a
debug log.

e.g.,

```
❯ cargo run -q -- run --no-managed-python -p 3.13.4 python
error: No interpreter found for Python 3.13.4 in virtual environments or search path

hint: A managed Python download is available for Python 3.13.4, but the Python preference is set to 'only system'
```
2025-07-10 12:06:24 -05:00
..
python Fix Ruff linting (#14111) 2025-06-17 17:28:23 +00:00
src Add hint when Python downloads are disabled (#14522) 2025-07-10 12:06:24 -05:00
.gitignore minify and filter embed managed pythons json on compile time (#12967) 2025-04-30 15:51:03 -04:00
build.rs Only rebuild download JSON on change (#13261) 2025-05-02 07:49:34 -05:00
Cargo.toml Support transparent Python patch version upgrades (#13954) 2025-06-20 16:17:13 +02:00
download-metadata.json Sync latest Python releases (#14514) 2025-07-08 21:12:22 -05:00
fetch-download-metadata.py Fix Ruff linting (#14111) 2025-06-17 17:28:23 +00:00