uv/crates/uv-python
Zanie Blue 8ef5949294 Discover and respect .python-version files in parent directories (#6370)
Uses #6369 for test coverage.

Updates version file discovery to search up into parent directories.
Also refactors Python request determination to avoid duplicating the
user request / version file / workspace lookup logic in every command
(this supersedes the work started in
https://github.com/astral-sh/uv/pull/6372).

There is a bit of remaining work here, mostly around documentation.
There are some edge-cases where we don't use the refactored request
utility, like `uv build` — I'm not sure how I'm going to handle that yet
as it needs a separate root directory.
2024-11-07 14:29:54 -06:00
..
python Use base executable to set virtualenv Python path (#8481) 2024-11-07 14:29:54 -06:00
src Discover and respect .python-version files in parent directories (#6370) 2024-11-07 14:29:54 -06:00
Cargo.toml Add support for installing versioned Python executables on Windows (#8663) 2024-10-31 15:58:35 +00:00
download-metadata.json Fix a typo in fetch-download-metadata.py (#8515) 2024-10-24 07:33:14 -05:00
fetch-download-metadata.py Fix a typo in fetch-download-metadata.py (#8515) 2024-10-24 07:33:14 -05:00
template-download-metadata.py Add support for managed installs of free-threaded Python (#8100) 2024-10-14 15:18:52 -05:00