mirror of
https://github.com/imjasonh/terraform-playground
synced 2026-07-08 07:44:57 +00:00
No description
Previously pymage installed every package in uv.lock, including dev-dependency groups and the whole resolution universe. On real projects this bloated images badly: ruff alone was 50% of deps in astral-sh/uv-docker-example, and dev/CI tools (ruff, mypy, ty, zizmor, ...) were 63% of deps in fastapi/full-stack-fastapi-template. ParseUVLockFile now computes the runtime closure from the local/project packages' dependencies, transitively following dependencies and expanding requested extras via optional-dependencies, never following dev-dependencies (matching 'uv sync --no-dev'). Locks with no project package still install everything. sdist-only errors now only trigger for packages actually in the closure. Cuts deps 50-63% on the studied projects. Co-authored-by: Jason Hall <imjasonh@users.noreply.github.com> |
||
|---|---|---|
| .github/workflows | ||
| cf-worker | ||
| cf-worker-container | ||
| cf-worker-go | ||
| container-vm | ||
| driftlessaf | ||
| gitea | ||
| iap | ||
| image-workflow | ||
| litestream | ||
| pymage | ||
| .devcontainer.json | ||
| .gitignore | ||
| LICENSE | ||