CI: pykickstart comes from pip, not apt
Some checks failed
CI/CD / lint (pull_request) Successful in 45s
CI/CD / typecheck (pull_request) Successful in 1m10s
CI/CD / test (pull_request) Failing after 1m24s
CI/CD / build (pull_request) Has been skipped
CI/CD / publish-rpm (pull_request) Has been skipped
CI/CD / publish-deb (pull_request) Has been skipped
Some checks failed
CI/CD / lint (pull_request) Successful in 45s
CI/CD / typecheck (pull_request) Successful in 1m10s
CI/CD / test (pull_request) Failing after 1m24s
CI/CD / build (pull_request) Has been skipped
CI/CD / publish-rpm (pull_request) Has been skipped
CI/CD / publish-deb (pull_request) Has been skipped
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 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V6HNx6cyr4J4CiMGCy1wkF
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user