Skip to content

Commit 955abe8

Browse files
committed
WASM build for cp313 pinned to Pyodided 0.29.3: fixes a regression using 0.29.4.
1 parent 0cdd259 commit 955abe8

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

.github/workflows/cibuildwheels.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -135,21 +135,23 @@ jobs:
135135
# WASM/Pyodide has no SIMD/runtime CPU detection; disable optimised paths
136136
CMAKE_ARGS: "-DWITH_ZLIB_OPTIM=OFF -DWITH_OPTIM=OFF -DWITH_RUNTIME_CPU_DETECTION=OFF"
137137
CIBW_TEST_COMMAND: "pytest {project}/tests"
138-
# cp314 targets the 2026 ABI, built against a prerelease Pyodide (314.x)
139-
CIBW_ENABLE: ${{ matrix.cibw_enable }}
138+
# Pin the Pyodide version explicitly per target for reproducible builds.
139+
# cp313 stays on 0.29.3 (the version wasm.yml proves good): 0.29.4, the
140+
# cibuildwheel 4.1 default, regresses SChunk get_slice on WASM.
141+
CIBW_PYODIDE_VERSION: ${{ matrix.pyodide_version }}
140142
strategy:
141143
fail-fast: false
142144
matrix:
143145
include:
144-
# Python 3.13 -> pyemscripten_2025_0 (Pyodide 0.29.x, stable)
146+
# Python 3.13 -> pyemscripten_2025_0
145147
- p_ver: "3.13"
146148
cibw_build: "cp313-*"
147-
cibw_enable: ""
149+
pyodide_version: "0.29.3"
148150
artifact_name: "wasm-pyodide-cp313"
149-
# Python 3.14 -> pyemscripten_2026_0 (Pyodide 314.x, prerelease)
151+
# Python 3.14 -> pyemscripten_2026_0
150152
- p_ver: "3.14"
151153
cibw_build: "cp314-*"
152-
cibw_enable: "pyodide-prerelease"
154+
pyodide_version: "314.0.0"
153155
artifact_name: "wasm-pyodide-cp314"
154156
steps:
155157
- name: Checkout repo

0 commit comments

Comments
 (0)