Skip to content

Commit 4cd5e23

Browse files
committed
bump python version to get emscripten 4.0.9 (which dawn needs for emsdk/upstream/emscripten/tools/gen_struct_info.py)
1 parent f7755f2 commit 4cd5e23

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

.github/actions/setup_base/action.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,11 @@ inputs:
3131
python-version:
3232
required: false
3333
description: ''
34-
default: '3.12'
34+
default: '3.13'
35+
emscripten-version:
36+
required: false
37+
description: ''
38+
default: ''
3539

3640
outputs:
3741
cache-dir:
@@ -245,7 +249,11 @@ runs:
245249
run: |
246250
247251
pip install pyodide-build>=0.28.0
248-
echo "EMSCRIPTEN_VERSION=$(pyodide config get emscripten_version)" >> $GITHUB_ENV
252+
if [[ "${{ inputs.emscripten-version }}" == "" ]]; then
253+
echo "EMSCRIPTEN_VERSION=$(pyodide config get emscripten_version)" >> $GITHUB_ENV
254+
else
255+
echo "EMSCRIPTEN_VERSION=${{ inputs.emscripten-version }}" >> $GITHUB_ENV
256+
fi
249257
250258
- name: Setup Emscripten
251259
if: inputs.target-arch == 'wasm32'

.github/workflows/build_mlir_python_bindings_wheel.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ jobs:
124124
run: |
125125
126126
if [[ "${{ matrix.target-arch }}" == "wasm32" ]]; then
127-
pip download mlir-wheel --plat pyodide_2024_0_wasm32 --no-deps --python-version 3.12 -f https://llvm.github.io/eudsl
127+
pip download mlir-wheel --plat pyodide_2025_0_wasm32 --no-deps --python-version 3.13 -f https://llvm.github.io/eudsl
128128
else
129129
pip download mlir-wheel -f https://llvm.github.io/eudsl
130130
fi

.github/workflows/deploy_pip_page.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@ jobs:
4949
- name: Setup Python
5050
uses: actions/setup-python@v5
5151
with:
52-
python-version: '3.12'
52+
python-version: '3.13'
5353

5454
- name: Fetch latest WASM wheel
5555
run: |
56-
pip download mlir-python-bindings --plat pyodide_2024_0_wasm32 --no-deps --python-version 3.12 -f https://llvm.github.io/eudsl
56+
pip download mlir-python-bindings --plat pyodide_2025_0_wasm32 --no-deps --python-version 3.13 -f https://llvm.github.io/eudsl
5757
echo "MLIR_PYTHON_WHEEL_NAME=$(ls mlir_python_bindings*)" >> $GITHUB_ENV
5858
pip wheel eudsl-python-extras -f https://llvm.github.io/eudsl --no-deps -w .
5959
echo "EUDSL_PYTHON_EXTRAS_WHEEL_NAME=$(ls eudsl_python_extras*)" >> $GITHUB_ENV

0 commit comments

Comments
 (0)