From 2e43703838a8fcb84cd00d669f28038b8a8d3efd Mon Sep 17 00:00:00 2001 From: weichen Date: Sat, 3 Oct 2026 10:40:38 +0000 Subject: [PATCH] Install the house-style Python packages in CI Why: lint.py imports python-pptx and openpyxl at import time, so installing only python-docx still skipped the layout finding. Evidence: actions run 680 failed TestLintErrorContinues with lint reason missing after python-docx was present. Impact: CI installs python-docx, python-pptx, and openpyxl from the Tsinghua index. Refs: feature/agent-stack-r0-r1 Co-authored-by: Cursor --- .gitea/workflows/ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index cf789383..17f9a9ca 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -39,8 +39,8 @@ jobs: set -euo pipefail curl -fsSL -o "$RUNNER_TEMP/node.tar.xz" https://npmmirror.com/mirrors/node/v22.23.3/node-v22.23.3-linux-x64.tar.xz tar -C /usr/local --strip-components=1 -xJf "$RUNNER_TEMP/node.tar.xz" - - name: Install python-docx for backend lint tests - run: python3 -m pip install --break-system-packages -i https://pypi.tuna.tsinghua.edu.cn/simple python-docx + - name: Install house-style Python packages + run: python3 -m pip install --break-system-packages -i https://pypi.tuna.tsinghua.edu.cn/simple python-docx python-pptx openpyxl - name: make test (boundaries, pins, libs, core, backend, frontend, ui, agent-command) run: make test - name: Build the single binary