mirror of
https://github.com/astral-sh/uv.git
synced 2025-09-13 22:16:20 +00:00
![]() ## Summary Replace `--frozen` with `--locked` in Docker integration guide. `--locked` additionally validates that `uv.lock` is "fresh"/up to date, which will catch errors if the user accidentally updated `pyproject.toml` but did not run `uv lock` before building the container. This is probably a better/safer default to recommend to users to avoid surprising/incorrect behavior. ## References - External guides already recommend using `--locked` instead of `--frozen` - https://hynek.me/articles/docker-uv/ - @zanieb seemed to indicate they might agree that `--locked` would be better to avoid surprises - https://github.com/astral-sh/uv/issues/10793#issuecomment-2743956736 ## Test Plan Used `--locked` in `uv` Python projects using Docker and validated that it works as expected. |
||
---|---|---|
.. | ||
alternative-indexes.md | ||
aws-lambda.md | ||
dependency-bots.md | ||
docker.md | ||
fastapi.md | ||
github.md | ||
gitlab.md | ||
index.md | ||
jupyter.md | ||
pre-commit.md | ||
pytorch.md |