uv/crates/uv-scripts/src
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
..
lib.rs Discover and respect `.python-version` files in parent directories (#6370) 2024-11-07 14:29:54 -06:00
tests.rs chore: Move all integration tests to a single binary (#8093) 2024-10-11 16:41:35 +02:00