Outlines a Python monorepo setup that pairs uv workspaces with Dagger and BuildKit caching. Builds container stages programmatically. Keeps things cache-friendly and predictable.
Parses pyproject.toml and extracts the workspace graph. Copies required local packages into intermediate stages. Installs them in editable mode so caches survive and rebuilds stay fast.
uv and Dagger turn CI from ad-hoc scripts into workspace-driven, cache-first monorepo builds. The result: per-package containerization that scales and caches sensibly.









