From b365fd0f22dd0d9b2b47699681f46b1e23fe0c8d Mon Sep 17 00:00:00 2001 From: weichen Date: Sat, 3 Oct 2026 12:46:10 +0000 Subject: [PATCH] Install house-style Python packages before backend CI Why: TestLintErrorContinues imports the house-style linter, which needs python-docx, python-pptx, and openpyxl. Evidence: Actions run 678 failed that test with ModuleNotFoundError: No module named docx after submodules checked out. Impact: The packages come from the Tsinghua PyPI mirror. The test command is unchanged. Refs: feature/agent-stack-r0-r1 Co-authored-by: Cursor --- .gitea/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index b67a8fe..7eb7aca 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -33,5 +33,7 @@ jobs: tar -C /usr/local -xzf "$RUNNER_TEMP/go.tgz" ln -sfn /usr/local/go/bin/go /usr/local/bin/go ln -sfn /usr/local/go/bin/gofmt /usr/local/bin/gofmt + - 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: Vet and test run: GOWORK=off go vet ./... && GOWORK=off go test -count=1 ./...