uv/crates/uv-python
Zanie Blue f679987fe1
Include the parent interpreter in Python discovery when --system is used (#7440)
Closes https://github.com/astral-sh/uv/issues/7417

Tested with this epic blurb

```
❯ uv pip install --python /Users/zb/.local/share/uv/python/cpython-3.13.0rc2-macos-aarch64-none/bin/python3 . --break-system-packages --reinstall
Resolved 1 package in 0.91ms
   Built uv @ file:///Users/zb/workspace/uv
Prepared 1 package in 2m 48s
Uninstalled 1 package in 1ms
Installed 1 package in 1ms
 - uv==0.4.10
 + uv==0.4.10 (from file:///Users/zb/workspace/uv)
❯ /Users/zb/.local/share/uv/python/cpython-3.13.0rc2-macos-aarch64-none/bin/python3 -m uv pip install --system -v httpx
DEBUG uv 0.4.10
DEBUG Searching for Python interpreter in system path
DEBUG Found `cpython-3.13.0rc2-macos-aarch64-none` at `/Users/zb/.local/share/uv/python/cpython-3.13.0rc2-macos-aarch64-none/bin/python3` (parent interpreter)
DEBUG Using Python 3.13.0rc2 environment at /Users/zb/.local/share/uv/python/cpython-3.13.0rc2-macos-aarch64-none/bin/python3
```
2024-09-16 22:51:50 -05:00
..
python Block Python <3.7 not only on linux (#7266) 2024-09-10 15:15:41 -05:00
src Include the parent interpreter in Python discovery when --system is used (#7440) 2024-09-16 22:51:50 -05:00
Cargo.toml Add support for dynamic cache keys (#7136) 2024-09-09 20:19:15 +00:00
download-metadata.json Add support for managed Python 3.13 and update CPython versions (#7263) 2024-09-10 14:36:16 -05:00
fetch-download-metadata.py Add support for managed Python 3.13 and update CPython versions (#7263) 2024-09-10 14:36:16 -05:00
template-download-metadata.py Deprecate the --isolated flag (#5466) 2024-07-30 22:40:38 +00:00