From faeea1c0289a1e8caf7bab7a40b202ad6bb8af52 Mon Sep 17 00:00:00 2001 From: Seungpyo1007 Date: Wed, 15 Jul 2026 10:04:16 +0900 Subject: [PATCH] ci: bump setup-python to v6 and drop pip cache (Node 24 crash) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit GitHub's default runners moved to Node 24, where `actions/setup-python@v5` with `cache: pip` crashes at setup with `Error: Maximum call stack size exceeded`. This was breaking deploy-pages, verify-status, coverage-report, the weekly jobs, and the techapi-* comment workflows. Apply the same fix already used by test.yml: bump `actions/setup-python` to `@v6` and remove `cache: pip` (bump alone does not fix the crash — removing the cache does). Also drop the now-orphaned `cache-dependency-path` in techapi-pr-validation-comment.yml. Fixes #44 --- .github/workflows/coverage-report.yml | 3 +-- .github/workflows/deploy-pages.yml | 3 +-- .github/workflows/dump-refresh.yml | 3 +-- .github/workflows/refresh-data.yml | 3 +-- .github/workflows/techapi-pr-validation-comment.yml | 6 +----- .github/workflows/techapi-verify-comment.yml | 3 +-- .github/workflows/validate-data.yml | 2 +- .github/workflows/verify-network.yml | 3 +-- .github/workflows/verify-status.yml | 3 +-- .github/workflows/weekly-ingest.yml | 3 +-- .github/workflows/weekly-refresh.yml | 3 +-- 11 files changed, 11 insertions(+), 24 deletions(-) diff --git a/.github/workflows/coverage-report.yml b/.github/workflows/coverage-report.yml index da8663a..2c38f77 100644 --- a/.github/workflows/coverage-report.yml +++ b/.github/workflows/coverage-report.yml @@ -27,10 +27,9 @@ jobs: repository: GetTechAPI/TechAPI path: TechAPI - - uses: actions/setup-python@v5 + - uses: actions/setup-python@v6 with: python-version: "3.12" - cache: pip - name: Install run: pip install -e . diff --git a/.github/workflows/deploy-pages.yml b/.github/workflows/deploy-pages.yml index ff1ea29..481e339 100644 --- a/.github/workflows/deploy-pages.yml +++ b/.github/workflows/deploy-pages.yml @@ -29,10 +29,9 @@ jobs: repository: GetTechAPI/TechAPI path: TechAPI - - uses: actions/setup-python@v5 + - uses: actions/setup-python@v6 with: python-version: "3.12" - cache: pip - name: Install Python deps run: pip install -e . diff --git a/.github/workflows/dump-refresh.yml b/.github/workflows/dump-refresh.yml index 2c28d91..c55c15f 100644 --- a/.github/workflows/dump-refresh.yml +++ b/.github/workflows/dump-refresh.yml @@ -32,10 +32,9 @@ jobs: path: techapi token: ${{ secrets.TECHENGINEBOT_TOKEN || secrets.TECHAPI_TOKEN || secrets.GITHUB_TOKEN }} - - uses: actions/setup-python@v5 + - uses: actions/setup-python@v6 with: python-version: "3.12" - cache: pip - name: Install TechEngine run: pip install -e . diff --git a/.github/workflows/refresh-data.yml b/.github/workflows/refresh-data.yml index 9206e2c..85e1421 100644 --- a/.github/workflows/refresh-data.yml +++ b/.github/workflows/refresh-data.yml @@ -26,10 +26,9 @@ jobs: repository: GetTechAPI/TechAPI path: TechAPI - - uses: actions/setup-python@v5 + - uses: actions/setup-python@v6 with: python-version: "3.12" - cache: pip - name: Install run: pip install -e . diff --git a/.github/workflows/techapi-pr-validation-comment.yml b/.github/workflows/techapi-pr-validation-comment.yml index 340b79e..9f92401 100644 --- a/.github/workflows/techapi-pr-validation-comment.yml +++ b/.github/workflows/techapi-pr-validation-comment.yml @@ -59,13 +59,9 @@ jobs: ref: main path: TechAPI-main - - uses: actions/setup-python@v5 + - uses: actions/setup-python@v6 with: python-version: "3.12" - cache: pip - # Avoid the default whole-workspace manifest search after the large - # TechAPI PR and main worktrees have been checked out. - cache-dependency-path: pyproject.toml - name: Detect TechAPI homepage changes id: site_changes diff --git a/.github/workflows/techapi-verify-comment.yml b/.github/workflows/techapi-verify-comment.yml index feb0e69..b5ef791 100644 --- a/.github/workflows/techapi-verify-comment.yml +++ b/.github/workflows/techapi-verify-comment.yml @@ -67,10 +67,9 @@ jobs: path: TechAPI fetch-depth: 0 - - uses: actions/setup-python@v5 + - uses: actions/setup-python@v6 with: python-version: "3.12" - cache: pip - name: Install TechEngine run: pip install -e . diff --git a/.github/workflows/validate-data.yml b/.github/workflows/validate-data.yml index ad331c9..50656f6 100644 --- a/.github/workflows/validate-data.yml +++ b/.github/workflows/validate-data.yml @@ -27,7 +27,7 @@ jobs: repository: GetTechAPI/TechAPI ref: ${{ inputs.data-ref }} path: TechAPI - - uses: actions/setup-python@v5 + - uses: actions/setup-python@v6 with: python-version: "3.12" - name: Validate seed JSON (§9.3, §15.3) diff --git a/.github/workflows/verify-network.yml b/.github/workflows/verify-network.yml index d78c1fd..71a8660 100644 --- a/.github/workflows/verify-network.yml +++ b/.github/workflows/verify-network.yml @@ -48,10 +48,9 @@ jobs: fetch-depth: 0 token: ${{ secrets.TECHENGINEBOT_TOKEN || secrets.TECHAPI_TOKEN || secrets.GITHUB_TOKEN }} - - uses: actions/setup-python@v5 + - uses: actions/setup-python@v6 with: python-version: "3.12" - cache: pip - name: Install TechEngine run: pip install -e . diff --git a/.github/workflows/verify-status.yml b/.github/workflows/verify-status.yml index 472ed2a..7f01216 100644 --- a/.github/workflows/verify-status.yml +++ b/.github/workflows/verify-status.yml @@ -37,10 +37,9 @@ jobs: path: TechAPI token: ${{ secrets.TECHENGINEBOT_TOKEN || secrets.TECHAPI_TOKEN || secrets.GITHUB_TOKEN }} - - uses: actions/setup-python@v5 + - uses: actions/setup-python@v6 with: python-version: "3.12" - cache: pip - name: Install TechEngine run: pip install -e . diff --git a/.github/workflows/weekly-ingest.yml b/.github/workflows/weekly-ingest.yml index 1dc5a25..061bba3 100644 --- a/.github/workflows/weekly-ingest.yml +++ b/.github/workflows/weekly-ingest.yml @@ -44,10 +44,9 @@ jobs: path: TechAPI token: ${{ secrets.TECHENGINEBOT_TOKEN || secrets.TECHAPI_TOKEN || secrets.GITHUB_TOKEN }} - - uses: actions/setup-python@v5 + - uses: actions/setup-python@v6 with: python-version: "3.12" - cache: pip - name: Install run: pip install -e . diff --git a/.github/workflows/weekly-refresh.yml b/.github/workflows/weekly-refresh.yml index 6598682..9f4d94d 100644 --- a/.github/workflows/weekly-refresh.yml +++ b/.github/workflows/weekly-refresh.yml @@ -52,10 +52,9 @@ jobs: path: techapi token: ${{ secrets.TECHENGINEBOT_TOKEN || secrets.TECHAPI_TOKEN || secrets.GITHUB_TOKEN }} - - uses: actions/setup-python@v5 + - uses: actions/setup-python@v6 with: python-version: "3.12" - cache: pip - name: Install TechEngine run: pip install -e .