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
The lint, test, chart and docs jobs of .github/workflows/ci.yml install the app with pip install -e ".[dev]" / ".[docs]", which resolves the newest versions in the ranges of pyproject.toml. The repository has no lock file, so CI results depend on whatever was released last, a run can't be reproduced, and nothing is checked against hashes.
Lock all dependencies (runtime, dev and docs extras) in uv.lock with uv (a dev dependency, so that the lock also pins the uv version of CI); CI checks that the lock matches pyproject.toml (uv lock --check).
Install the lock in CI: astral-sh/setup-uv pinned by commit (version-file: uv.lock), then uv sync --locked --extra dev (--extra docs in docs), .venv/bin on the PATH.
Replace Dependabot's pip entry with a uv entry, which updates pyproject.toml and uv.lock together.
Tests in tests/test_workflows.py that the jobs install from the lock and no job installs unlocked packages.
Update the developer docs (docs/development.md) to set up the environment with uv sync --locked.
The image itself still installs from the ranges of pyproject.toml; installing it from the lock is #365, which this lock is a prerequisite for.
Acceptance criteria
The test jobs run on the versions of uv.lock; CI fails if the lock is out of date.
Dependabot's uv pull requests run the tests on the updated lock.
Activity