uv
3d7ffdb9 - Allow ty 1.x by default in `uv check` (#23482)

Commit
5 days ago
Allow ty 1.x by default in `uv check` (#23482) ## Summary When a project doesn't depend on ty, `uv check` downloads the latest version that satisfies `>=0.0,<0.1`. That keeps it on the 0.0.x series even when ty 1.0 is available. We now use `>=0,<2`. This lets uv pick up ty 1.x while still allowing 0.0.x when `--exclude-newer` predates ty 1.0. The upper bound keeps older versions of uv from automatically picking up potentially breaking CLI changes in ty 2.0. We still respect the project's locked version and explicit `--ty-version` requests.
Author
Parents
Loading