https://github.com/python/cpython/commit/cf1a2c1ee46b62fb3a5938fdfe90b7a9df312c3a
commit: cf1a2c1ee46b62fb3a5938fdfe90b7a9df312c3a
branch: main
author: Hugo van Kemenade <[email protected]>
committer: hugovk <[email protected]>
date: 2025-11-03T21:26:09+02:00
summary:
gh-133600: Run `Tools/wasm/wasi` on CI instead of deprecated
`Tools/wasm/wasi.py` (#140907)
files:
M .github/workflows/reusable-wasi.yml
diff --git a/.github/workflows/reusable-wasi.yml
b/.github/workflows/reusable-wasi.yml
index 7c40e566b2a0d1..18feb564822116 100644
--- a/.github/workflows/reusable-wasi.yml
+++ b/.github/workflows/reusable-wasi.yml
@@ -60,24 +60,24 @@ jobs:
with:
path: ${{ env.CROSS_BUILD_PYTHON }}/config.cache
# Include env.pythonLocation in key to avoid changes in environment
when setup-python updates Python.
- # Include the hash of `Tools/wasm/wasi.py` as it may change the
environment variables.
+ # Include the hash of `Tools/wasm/wasi/__main__.py` as it may change
the environment variables.
# (Make sure to keep the key in sync with the other config.cache step
below.)
- key: ${{ github.job }}-${{ env.IMAGE_OS_VERSION }}-${{
env.WASI_SDK_VERSION }}-${{ env.WASMTIME_VERSION }}-${{ inputs.config_hash
}}-${{ hashFiles('Tools/wasm/wasi.py') }}-${{ env.pythonLocation }}
+ key: ${{ github.job }}-${{ env.IMAGE_OS_VERSION }}-${{
env.WASI_SDK_VERSION }}-${{ env.WASMTIME_VERSION }}-${{ inputs.config_hash
}}-${{ hashFiles('Tools/wasm/wasi/__main__.py') }}-${{ env.pythonLocation }}
- name: "Configure build Python"
- run: python3 Tools/wasm/wasi.py configure-build-python -- --config-cache
--with-pydebug
+ 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: "Restore host config.cache"
uses: actions/cache@v4
with:
path: ${{ env.CROSS_BUILD_WASI }}/config.cache
# Should be kept in sync with the other config.cache step above.
- key: ${{ github.job }}-${{ env.IMAGE_OS_VERSION }}-${{
env.WASI_SDK_VERSION }}-${{ env.WASMTIME_VERSION }}-${{ inputs.config_hash
}}-${{ hashFiles('Tools/wasm/wasi.py') }}-${{ env.pythonLocation }}
+ key: ${{ github.job }}-${{ env.IMAGE_OS_VERSION }}-${{
env.WASI_SDK_VERSION }}-${{ env.WASMTIME_VERSION }}-${{ inputs.config_hash
}}-${{ hashFiles('Tools/wasm/wasi/__main__.py') }}-${{ env.pythonLocation }}
- name: "Configure host"
# `--with-pydebug` inferred from configure-build-python
- run: python3 Tools/wasm/wasi.py configure-host -- --config-cache
+ run: python3 Tools/wasm/wasi configure-host -- --config-cache
- name: "Make host"
- run: python3 Tools/wasm/wasi.py make-host
+ run: python3 Tools/wasm/wasi make-host
- name: "Display build info"
run: make --directory "${CROSS_BUILD_WASI}" pythoninfo
- name: "Test"
_______________________________________________
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]