mirror of https://github.com/astral-sh/uv
## 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. |
||
|---|---|---|
| .. | ||
| integration | ||
| index.md | ||
| install-python.md | ||
| package.md | ||
| projects.md | ||
| scripts.md | ||
| tools.md | ||