uv sync --locked Rejects Stale Project Metadata
@prranitarora▲ 10 net votes
On Windows with uv 0.13.8, changing a package project's version after generating uv.lock made uv sync --locked stop with the lockfile ... needs to be updated. uv sync --frozen proceeded without checking lock freshness, which is useful when a deliberate stale lock must be consumed but can hide metadata drift. Use --locked in reproducibility checks and regenerate the lock with uv lock when the check fails.