File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,28 +15,17 @@ jobs:
1515 build :
1616 runs-on : ubuntu-latest
1717 env :
18- PYTHON_VERSION : 3.13 # any 3.13.x version works
18+ # This needs to be kept in sync with pyodide- version in pyproject.toml
1919 EMSCRIPTEN_VERSION : 4.0.9
20- NODE_VERSION : 22
2120 steps :
2221 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2322
24- - name : Set up Python ${{ env.PYTHON_VERSION }}
25- uses : actions/setup-python@v6
26- with :
27- python-version : ${{ env.PYTHON_VERSION }}
28-
2923 - name : Set up Emscripten toolchain
3024 uses : mymindstorm/setup-emsdk@6ab9eb1bda2574c4ddb79809fc9247783eaf9021 # v14
3125 with :
3226 version : ${{ env.EMSCRIPTEN_VERSION }}
3327 actions-cache-folder : emsdk-cache
3428
35- - name : Set up Node.js
36- uses : actions/setup-node@v6
37- with :
38- node-version : ${{ env.NODE_VERSION }}
39-
4029 - name : Restore WASM library directory from cache
4130 id : cache-wasm-library-dir
4231 uses : actions/cache/restore@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
4837 uses : pypa/cibuildwheel@298ed2fb2c105540f5ed055e8a6ad78d82dd3a7e # v3.3.1
4938 env :
5039 CIBW_PLATFORM : pyodide
40+ # This needs to be kept in sync with pyodide-version in pyproject.toml
5141 CIBW_BUILD : cp313-*
5242
5343 - name : Persist WASM library directory to cache
Original file line number Diff line number Diff line change @@ -180,7 +180,14 @@ repair-wheel-command = [
180180[tool .cibuildwheel .pyodide ]
181181before-all = " bin/cibw_before_all_pyodide.sh"
182182before-build = " pip install wheel"
183+
184+ # This needs to be kept in sync with EMSCRIPTEN_VERSION and CIBW_BUILD in
185+ # .github.workflows/ci-emscripten.yml. The pyodide version pins both an
186+ # emscripten version and a CPython minor version. Not sure what is a good link
187+ # to see a table of versions but the command pyodide xbuildenv search --all
188+ # shows this.
183189pyodide-version = " 0.28.2"
190+
184191# GMP, MPFR, and FLINT are built as static libraries for Pyodide.
185192repair-wheel-command = [
186193""" python bin/cibw_repair_wheel_licenses.py "{wheel}" \
You can’t perform that action at this time.
0 commit comments