From 319cac85b876024d97ff7b82a44f7a4ce7790ea2 Mon Sep 17 00:00:00 2001 From: didericis Date: Sat, 18 Jul 2026 17:02:40 -0400 Subject: [PATCH] ci: drop dev-requirements pip install on the self-hosted KVM runner MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The self-hosted runner's Nix python env has no `pip` module, so `python3 -m pip install -r requirements-dev.txt` failed with "No module named pip" in both firecracker jobs. Neither job needs that install: - integration-firecracker runs the stdlib `unittest` suite (no deps); - coverage needs only `coverage`, which the runner's Nix python env already ships (7.12.0) — verified `coverage run`/`coverage json` work. pylint/pyright are lint.yml's concern, not test.yml's. The ubuntu-latest `unit` job keeps its `--break-system-packages` install unchanged. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01S1qRZTJC6qgBsUSjNrBdkX --- .gitea/workflows/test.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index da1fc18..5a33c5a 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -105,9 +105,10 @@ jobs: # range overlap; it prints the exact `backend setup` fix. python3 cli.py backend status --backend=firecracker - - name: Install dev requirements - run: python3 -m pip install --user -r requirements-dev.txt - + # No dev-requirements install: the integration suite runs on stdlib + # `unittest` (pylint/pyright are lint.yml's concern, not this job's), + # and the self-hosted runner's Nix python env has no `pip` module + # (`python3 -m pip` → "No module named pip"). Nothing to install. - name: Run integration tests (firecracker) env: BOT_BOTTLE_BACKEND: firecracker @@ -151,9 +152,10 @@ jobs: # range overlap; it prints the exact `backend setup` fix. python3 cli.py backend status --backend=firecracker - - name: Install dev requirements - run: python3 -m pip install --user -r requirements-dev.txt - + # No dev-requirements install: `coverage` is already provided by the + # self-hosted runner's Nix python env, and that env has no `pip` + # module to install into anyway. `scripts/coverage.sh` + + # `diff_coverage.py` need only `coverage` (not pylint/pyright). - name: Combined coverage (unit + integration, incl. firecracker) env: BOT_BOTTLE_BACKEND: firecracker