Latest Results
Add locked subgraph materialization primitives (#19907)
`uv check` and `uv format` need to install the exact `ty` or `ruff`
package already selected in `uv.lock`, including its source and
transitive dependencies, without invoking the resolver again or
modifying the project environment. The immediate follow-up is #19884.
This adds `Lock::to_resolution`, which materializes a `Resolution` from
explicit locked `Package` identities. It preserves marker-selected
universal forks, requested extras and dependency groups, install
filtering, and shared dependencies across multiple roots, while
excluding unrelated lock-manifest requirements.
`CachedEnvironment::from_resolution` ensures an environment for an
existing `Resolution` and installs it without resolving again.
`from_spec` now delegates to this path after resolution. Callers must
supply the interpreter from which the resolution’s markers and tags were
derived.
Concrete roots establish a new conflict context: conflict items inside
the resulting subgraph are evaluated from the selected roots, extras,
and groups. Materialization fails instead when a reachable dependency
still depends on a conflict item outside that subgraph.
This change is a pure refactor, there should be no behavior change. Latest Branches
0%
zsol/materialize-locked-subgraphs 0%
konsti/remove-universe-markers 0%
zaniebot:zb/fix-upgrade-config-precedence © 2026 CodSpeed Technology