From 9bbaf2a38508425eaa32fad362d4af3cc0cf103f Mon Sep 17 00:00:00 2001 From: Michal Date: Wed, 14 Oct 2026 19:07:21 +0100 Subject: [PATCH] CI: pykickstart comes from pip, not apt The runner image's apt sources do not carry pykickstart (E: Unable to locate package). python3-yaml stays apt; ksvalidator is pip-installed system-wide so the test job finds it on PATH. Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01V6HNx6cyr4J4CiMGCy1wkF --- .gitea/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index beffd6a..092ce1b 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -86,7 +86,10 @@ jobs: run: pnpm -C src/labd run db:generate - name: Install test validators (ubuntu-autoinstall parses YAML via python, kickstart.test runs ksvalidator) - run: sudo apt-get update -qq && sudo apt-get install -y -qq python3-yaml pykickstart + # pykickstart is not in the runner image's apt sources -- pip it is. + run: | + sudo apt-get update -qq && sudo apt-get install -y -qq python3-yaml python3-pip + sudo pip3 install --quiet --break-system-packages pykickstart - name: Build (needed by completions check) run: pnpm build