uv/crates/uv-scripts
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
..
src Discover and respect .python-version files in parent directories (#6370) 2024-11-07 14:29:54 -06:00
Cargo.toml Add support for named and explicit indexes (#7481) 2024-10-15 18:24:23 -04:00