From c64853f643a28dd47b8c3f2f859b5e1156f39232 Mon Sep 17 00:00:00 2001 From: Jared Vititoe Date: Fri, 4 Sep 2026 21:10:38 -0400 Subject: [PATCH] Fix CI: pass --break-system-packages to pip3 installs The runner's Debian image update enforces PEP 668, so system-wide pip3 installs (flake8, bandit, pytest, requirements.txt) were failing before any job logic ran, blocking lint/test/security and the deploy job. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01UB2D82eYNzD1bnMHhFPjRr --- .gitea/workflows/lint.yml | 2 +- .gitea/workflows/security.yml | 2 +- .gitea/workflows/test.yml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/lint.yml b/.gitea/workflows/lint.yml index 8e18c30..20af6e9 100644 --- a/.gitea/workflows/lint.yml +++ b/.gitea/workflows/lint.yml @@ -17,7 +17,7 @@ jobs: run: | apt-get update -qq apt-get install -y -qq python3 python3-pip - pip3 install flake8 + pip3 install --break-system-packages flake8 - name: Run flake8 run: flake8 . --exclude=__pycache__,.git diff --git a/.gitea/workflows/security.yml b/.gitea/workflows/security.yml index 17c24ac..eda4060 100644 --- a/.gitea/workflows/security.yml +++ b/.gitea/workflows/security.yml @@ -19,7 +19,7 @@ jobs: run: | apt-get update -qq apt-get install -y -qq python3 python3-pip - pip3 install bandit + pip3 install --break-system-packages bandit - name: Run bandit run: bandit -r . --exclude .git,__pycache__,node_modules -ll diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index ba6241c..fe83278 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -17,8 +17,8 @@ jobs: run: | apt-get update -qq apt-get install -y -qq python3 python3-pip - pip3 install pytest pytest-cov - pip3 install -r requirements.txt --quiet + pip3 install --break-system-packages pytest pytest-cov + pip3 install --break-system-packages -r requirements.txt --quiet - name: Run pytest with coverage run: python3 -m pytest tests/ -v --cov=. --cov-report=term-missing --cov-config=.coveragerc