You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
build(#283): uv best-practice polish (cache mounts, .python-version, drop redundant PYTHONPATH)
Follow-up tidy from a best-practices review of the uv adoption:
- Dockerfile: swap UV_NO_CACHE for BuildKit cache mounts on the `uv sync`
steps (the documented uv-in-Docker pattern) — faster rebuilds, and the
cache stays out of the image layers.
- Add build/dashboard/.python-version (3.11) so local `uv` defaults to the
same interpreter as the digest-pinned Docker base and CI.
- Drop the now-redundant PYTHONPATH=build/dashboard from the fakes test
(Makefile + CI): uv editable-installs the project into the venv, so the
source no longer needs to be on sys.path. Verified the fakes still pass (12).
Re-verified: docker test stage (532 tests in-container) + prod stage build
with cache mounts; make test-dashboard/test-fakes/lint-py green; uv lock --check clean.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments