Skip to content

Commit 34331e3

Browse files
committed
ci: bump setup-python to v6 and drop pip cache (Node 24 crash)
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
1 parent f2ac9b3 commit 34331e3

11 files changed

Lines changed: 11 additions & 24 deletions

.github/workflows/coverage-report.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,9 @@ jobs:
2727
repository: GetTechAPI/TechAPI
2828
path: TechAPI
2929

30-
- uses: actions/setup-python@v5
30+
- uses: actions/setup-python@v6
3131
with:
3232
python-version: "3.12"
33-
cache: pip
3433

3534
- name: Install
3635
run: pip install -e .

.github/workflows/deploy-pages.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,9 @@ jobs:
2929
repository: GetTechAPI/TechAPI
3030
path: TechAPI
3131

32-
- uses: actions/setup-python@v5
32+
- uses: actions/setup-python@v6
3333
with:
3434
python-version: "3.12"
35-
cache: pip
3635

3736
- name: Install Python deps
3837
run: pip install -e .

.github/workflows/dump-refresh.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,9 @@ jobs:
3232
path: techapi
3333
token: ${{ secrets.TECHENGINEBOT_TOKEN || secrets.TECHAPI_TOKEN || secrets.GITHUB_TOKEN }}
3434

35-
- uses: actions/setup-python@v5
35+
- uses: actions/setup-python@v6
3636
with:
3737
python-version: "3.12"
38-
cache: pip
3938

4039
- name: Install TechEngine
4140
run: pip install -e .

.github/workflows/refresh-data.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,9 @@ jobs:
2626
repository: GetTechAPI/TechAPI
2727
path: TechAPI
2828

29-
- uses: actions/setup-python@v5
29+
- uses: actions/setup-python@v6
3030
with:
3131
python-version: "3.12"
32-
cache: pip
3332

3433
- name: Install
3534
run: pip install -e .

.github/workflows/techapi-pr-validation-comment.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,9 @@ jobs:
5959
ref: main
6060
path: TechAPI-main
6161

62-
- uses: actions/setup-python@v5
62+
- uses: actions/setup-python@v6
6363
with:
6464
python-version: "3.12"
65-
cache: pip
66-
# Avoid the default whole-workspace manifest search after the large
67-
# TechAPI PR and main worktrees have been checked out.
68-
cache-dependency-path: pyproject.toml
6965

7066
- name: Detect TechAPI homepage changes
7167
id: site_changes

.github/workflows/techapi-verify-comment.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,9 @@ jobs:
6767
path: TechAPI
6868
fetch-depth: 0
6969

70-
- uses: actions/setup-python@v5
70+
- uses: actions/setup-python@v6
7171
with:
7272
python-version: "3.12"
73-
cache: pip
7473

7574
- name: Install TechEngine
7675
run: pip install -e .

.github/workflows/validate-data.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
repository: GetTechAPI/TechAPI
2828
ref: ${{ inputs.data-ref }}
2929
path: TechAPI
30-
- uses: actions/setup-python@v5
30+
- uses: actions/setup-python@v6
3131
with:
3232
python-version: "3.12"
3333
- name: Validate seed JSON (§9.3, §15.3)

.github/workflows/verify-network.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,9 @@ jobs:
4848
fetch-depth: 0
4949
token: ${{ secrets.TECHENGINEBOT_TOKEN || secrets.TECHAPI_TOKEN || secrets.GITHUB_TOKEN }}
5050

51-
- uses: actions/setup-python@v5
51+
- uses: actions/setup-python@v6
5252
with:
5353
python-version: "3.12"
54-
cache: pip
5554

5655
- name: Install TechEngine
5756
run: pip install -e .

.github/workflows/verify-status.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,9 @@ jobs:
3737
path: TechAPI
3838
token: ${{ secrets.TECHENGINEBOT_TOKEN || secrets.TECHAPI_TOKEN || secrets.GITHUB_TOKEN }}
3939

40-
- uses: actions/setup-python@v5
40+
- uses: actions/setup-python@v6
4141
with:
4242
python-version: "3.12"
43-
cache: pip
4443

4544
- name: Install TechEngine
4645
run: pip install -e .

.github/workflows/weekly-ingest.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,9 @@ jobs:
4444
path: TechAPI
4545
token: ${{ secrets.TECHENGINEBOT_TOKEN || secrets.TECHAPI_TOKEN || secrets.GITHUB_TOKEN }}
4646

47-
- uses: actions/setup-python@v5
47+
- uses: actions/setup-python@v6
4848
with:
4949
python-version: "3.12"
50-
cache: pip
5150

5251
- name: Install
5352
run: pip install -e .

0 commit comments

Comments
 (0)