From 4df155c65fead35374ba2e3dec568b6d857078f5 Mon Sep 17 00:00:00 2001 From: OG T Date: Wed, 1 Apr 2026 10:40:01 +0800 Subject: [PATCH] =?UTF-8?q?fix(cd):=20=E4=BF=AE=E5=BE=A9=20pip=20install?= =?UTF-8?q?=20PEP=20668=20externally-managed-environment=20=E9=8C=AF?= =?UTF-8?q?=E8=AA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit pip install uv 在新版 Docker runner 中被 PEP 668 阻擋。 加入 --break-system-packages 允許在系統 Python 安裝 uv。 Co-Authored-By: Claude Sonnet 4.6 --- .gitea/workflows/cd.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/cd.yaml b/.gitea/workflows/cd.yaml index 024b9e5e..f397d0e3 100644 --- a/.gitea/workflows/cd.yaml +++ b/.gitea/workflows/cd.yaml @@ -55,7 +55,7 @@ jobs: - name: Run API Tests run: | cd apps/api - pip install -q uv + pip install -q uv --break-system-packages uv pip install --system -e ".[dev]" -q pytest tests/ -v --tb=short --timeout=60 2>&1 | tail -50 echo "✅ API 測試通過"