astral-sh / uv

An extremely fast Python package installer and resolver, written in Rust.
https://astral.sh/
Apache License 2.0
14.24k stars 405 forks source link

Add command to check if the lock file is up to date with the project metadata #4264

Open zanieb opened 2 weeks ago

zanieb commented 2 weeks ago

e.g. as in poetry check --lock (not yet sure why they deprecated poetry lock --check)

zanieb commented 2 weeks ago

Some discussion about the poetry lock --check change at https://github.com/python-poetry/poetry/pull/8015 and https://github.com/python-poetry/poetry/issues/6756

We ought to have a top-level uv check command eventually too but should it do this? I guess uv check --locked is an option?