Skip to content

[pull] main from astral-sh:main#53

Merged
pull[bot] merged 1 commit into
Moshbbab:mainfrom
astral-sh:main
Jun 24, 2026
Merged

[pull] main from astral-sh:main#53
pull[bot] merged 1 commit into
Moshbbab:mainfrom
astral-sh:main

Conversation

@pull

@pull pull Bot commented Jun 24, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

`uv check` currently resolves its standalone `ty` executable from uv’s
built-in compatible range, even when the project’s locked development
dependencies select a different version or source.

When `uv.lock` contains an applicable `ty` package, `uv check` now runs
that exact locked package. It first looks in the project’s `dev` group,
then falls back to a direct runtime dependency. With `--no-sync` (or
when `ty` is excluded by the selected dependency groups), uv
materializes only the locked `ty` subgraph into a cached environment
without modifying the project environment.

The precedence order for ty version selection is now:

- the `TY` executable override
- an explicit `--ty-version`
- the applicable `ty` package from `uv.lock` (if any)
- uv’s default constrained range when the lock contains no applicable
`ty` development dependency

This work was split into several focused pull requests, which are now
dependencies of this PR:

-
[[#19907](https://github.com/astral-sh/uv/pull/19907)](https://github.com/astral-sh/uv/pull/19907)
adds the locked-subgraph materialization and cached-installation
primitives this PR uses. This PR is stacked on it.
-
[[#19909](https://github.com/astral-sh/uv/pull/19909)](https://github.com/astral-sh/uv/pull/19909)
makes `uv check --no-sync` perform the normal lock operation while
skipping environment synchronization.
-
[[#19892](https://github.com/astral-sh/uv/pull/19892)](https://github.com/astral-sh/uv/pull/19892)
adds the hidden `uv check --show-version` flag used to verify version
selection.
-
[[#19913](https://github.com/astral-sh/uv/pull/19913)](https://github.com/astral-sh/uv/pull/19913)
moves related `uv check` tests from live PyPI dependencies to
deterministic Packse fixtures.
@pull pull Bot locked and limited conversation to collaborators Jun 24, 2026
@pull pull Bot added the ⤵️ pull label Jun 24, 2026
@pull pull Bot merged commit 14eccf1 into Moshbbab:main Jun 24, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant