From fe29ece741d01ac31e3025c55d393e997a1b517b Mon Sep 17 00:00:00 2001 From: Noah Date: Mon, 28 Sep 2026 02:09:30 -0600 Subject: [PATCH] ci: let the quality job's pip install run on the Gitea runners The first CI run on Gitea (1447) failed only in quality: the job image's Python is PEP 668 externally managed, so 'pip install lizard ruff' is refused. GitHub's hosted runners set PIP_BREAK_SYSTEM_PACKAGES; set the same for that step, which runs in a throwaway container on a throwaway VM. Refs #2 Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01441BzdGcvQmXkiN2qDjfZg --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e775d50..eac1818 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -340,6 +340,12 @@ jobs: steps: - uses: actions/checkout@v4 - name: install analyzers + # The job image's Python is PEP 668 "externally managed", so a plain + # pip install is refused. GitHub's hosted runners set this same + # variable; here every job runs in a throwaway container on a + # throwaway VM (the GARM runners), so nothing outlives the job. + env: + PIP_BREAK_SYSTEM_PACKAGES: "1" run: | sudo apt-get update -qq && sudo apt-get install -y -qq cppcheck shellcheck pip install --quiet lizard ruff