https://github.com/python/cpython/commit/181a2f4f2e3bed8dc6be5630e9bfb3362194ab3a
commit: 181a2f4f2e3bed8dc6be5630e9bfb3362194ab3a
branch: main
author: Hugo van Kemenade <[email protected]>
committer: hugovk <[email protected]>
date: 2025-11-14T11:59:19+02:00
summary:
gh-139596: Cease caching config.cache & ccache in GH Actions (#141451)
files:
M .github/workflows/build.yml
M .github/workflows/reusable-context.yml
M .github/workflows/reusable-macos.yml
M .github/workflows/reusable-san.yml
M .github/workflows/reusable-ubuntu.yml
M .github/workflows/reusable-wasi.yml
M .gitignore
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index a0f60c30ac8a60..8e15400e4978eb 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -205,7 +205,6 @@ jobs:
free-threading: true
uses: ./.github/workflows/reusable-macos.yml
with:
- config_hash: ${{ needs.build-context.outputs.config-hash }}
free-threading: ${{ matrix.free-threading }}
os: ${{ matrix.os }}
@@ -237,7 +236,6 @@ jobs:
bolt: true
uses: ./.github/workflows/reusable-ubuntu.yml
with:
- config_hash: ${{ needs.build-context.outputs.config-hash }}
bolt-optimizations: ${{ matrix.bolt }}
free-threading: ${{ matrix.free-threading }}
os: ${{ matrix.os }}
@@ -414,8 +412,6 @@ jobs:
needs: build-context
if: needs.build-context.outputs.run-tests == 'true'
uses: ./.github/workflows/reusable-wasi.yml
- with:
- config_hash: ${{ needs.build-context.outputs.config-hash }}
test-hypothesis:
name: "Hypothesis tests on Ubuntu"
@@ -600,7 +596,6 @@ jobs:
uses: ./.github/workflows/reusable-san.yml
with:
sanitizer: ${{ matrix.sanitizer }}
- config_hash: ${{ needs.build-context.outputs.config-hash }}
free-threading: ${{ matrix.free-threading }}
cross-build-linux:
diff --git a/.github/workflows/reusable-context.yml
b/.github/workflows/reusable-context.yml
index d2668ddcac1a3d..66c7cc47de03fb 100644
--- a/.github/workflows/reusable-context.yml
+++ b/.github/workflows/reusable-context.yml
@@ -17,9 +17,6 @@ on: # yamllint disable-line rule:truthy
# || 'falsy-branch'
# }}
#
- config-hash:
- description: Config hash value for use in cache keys
- value: ${{ jobs.compute-changes.outputs.config-hash }} # str
run-docs:
description: Whether to build the docs
value: ${{ jobs.compute-changes.outputs.run-docs }} # bool
@@ -42,7 +39,6 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
outputs:
- config-hash: ${{ steps.config-hash.outputs.hash }}
run-ci-fuzz: ${{ steps.changes.outputs.run-ci-fuzz }}
run-docs: ${{ steps.changes.outputs.run-docs }}
run-tests: ${{ steps.changes.outputs.run-tests }}
@@ -100,8 +96,3 @@ jobs:
GITHUB_EVENT_NAME: ${{ github.event_name }}
CCF_TARGET_REF: ${{ github.base_ref ||
github.event.repository.default_branch }}
CCF_HEAD_REF: ${{ github.event.pull_request.head.sha || github.sha }}
-
- - name: Compute hash for config cache key
- id: config-hash
- run: |
- echo "hash=${{ hashFiles('configure', 'configure.ac',
'.github/workflows/build.yml') }}" >> "$GITHUB_OUTPUT"
diff --git a/.github/workflows/reusable-macos.yml
b/.github/workflows/reusable-macos.yml
index d85c46b96f873d..98d557ba1eab84 100644
--- a/.github/workflows/reusable-macos.yml
+++ b/.github/workflows/reusable-macos.yml
@@ -3,9 +3,6 @@ name: Reusable macOS
on:
workflow_call:
inputs:
- config_hash:
- required: true
- type: string
free-threading:
required: false
type: boolean
diff --git a/.github/workflows/reusable-san.yml
b/.github/workflows/reusable-san.yml
index 7fe96d1b238b04..c601d0b73380d4 100644
--- a/.github/workflows/reusable-san.yml
+++ b/.github/workflows/reusable-san.yml
@@ -6,9 +6,6 @@ on:
sanitizer:
required: true
type: string
- config_hash:
- required: true
- type: string
free-threading:
description: Whether to use free-threaded mode
required: false
diff --git a/.github/workflows/reusable-ubuntu.yml
b/.github/workflows/reusable-ubuntu.yml
index 7b93b5f51b00df..0c1ebe29ae322f 100644
--- a/.github/workflows/reusable-ubuntu.yml
+++ b/.github/workflows/reusable-ubuntu.yml
@@ -3,9 +3,6 @@ name: Reusable Ubuntu
on:
workflow_call:
inputs:
- config_hash:
- required: true
- type: string
bolt-optimizations:
description: Whether to enable BOLT optimizations
required: false
diff --git a/.github/workflows/reusable-wasi.yml
b/.github/workflows/reusable-wasi.yml
index 8f412288f530bc..a309ef4e7f4485 100644
--- a/.github/workflows/reusable-wasi.yml
+++ b/.github/workflows/reusable-wasi.yml
@@ -2,10 +2,6 @@ name: Reusable WASI
on:
workflow_call:
- inputs:
- config_hash:
- required: true
- type: string
env:
FORCE_COLOR: 1
@@ -53,7 +49,7 @@ jobs:
- name: "Configure build Python"
run: python3 Tools/wasm/wasi configure-build-python -- --config-cache
--with-pydebug
- name: "Make build Python"
- run: python3 Tools/wasm/wasi.py make-build-python
+ run: python3 Tools/wasm/wasi make-build-python
- name: "Configure host"
# `--with-pydebug` inferred from configure-build-python
run: python3 Tools/wasm/wasi configure-host -- --config-cache
diff --git a/.gitignore b/.gitignore
index 2bf4925647ddcd..4ea2fd9655471d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -135,7 +135,6 @@ Tools/unicode/data/
/config.log
/config.status
/config.status.lineno
-# hendrikmuhs/ccache-action@v1
/.ccache
/cross-build/
/jit_stencils*.h
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]