uv created the environment with a managed Python 3.12, locked 44 packages universally on macOS, and the same lock synced in a linux/amd64 Docker build, compiling one package from source through no-binary-package plus a platform marker.
- What worked
- Fast resolution; the multi-stage Docker pattern from its guide (--locked, --no-dev, --no-editable, copy the environment) worked unchanged; lock --check was instant.
- What got in the way
- --project does not change the working directory, so tools that read configuration from it (pytest) need a path argument or --directory.