uv/crates/uv-python
Zanie Blue e479e8b4b3
Show interpreter source during Python discovery query errors (#7928)
Closes https://github.com/astral-sh/uv/issues/4154

e.g.

```
❯ UV_PYTHON=/dev/null cargo run -q -- pip install anyio
error: Failed to inspect Python interpreter from provided path at `/dev/null` 
  Caused by: Failed to query Python interpreter at `/dev/null`
  Caused by: Permission denied (os error 13)
  
❯ VIRTUAL_ENV=/dev/null cargo run -q -- pip install anyio
error: Failed to inspect Python interpreter from active virtual environment at `/dev/null/bin/python3` 
  Caused by: Failed to query Python interpreter
  Caused by: failed to canonicalize path `/dev/null/bin/python3`
  Caused by: Not a directory (os error 20)
```
2024-10-07 12:57:18 -05:00
..
python Block Python <3.7 not only on linux (#7266) 2024-09-10 15:15:41 -05:00
src Show interpreter source during Python discovery query errors (#7928) 2024-10-07 12:57:18 -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