File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments