Repository navigation
ci(pyodide): build wheels for Pyodide 0.29.5 and 314.0.7 - #1
Merged
Merged
Conversation
Build one wheel per Pyodide ABI with a matrix, and keep the wheels that are already published so older shinylive releases can still download them.
Released versions of shinylive download it. It needs the old pyodide-build, since newer versions name the wheel pyemscripten_2024_0 instead of pyodide_2024_0.
schloerke
force-pushed
the
pyodide-0.29-and-314
branch
2 times, most recently
from
November 9, 2026 19:35
df11fba to
4170cde
Compare
GitHub is short on macOS arm64 runners, and matrix jobs waiting for one were cancelled. Linux isn't an option: setup.py passes -std=gnu++0x to the C file there, which Emscripten rejects.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
shinylive is moving off Pyodide 0.27.7 (posit-dev/shinylive#254). The upgrade PR, posit-dev/shinylive#263, needs a libsass wheel built for the new Pyodide. shiny themes and shinychat (which now requires
libsass>=0.23.0) both load it.This only changes
.github/workflows/pyodide.yml. No source changes are needed.libsass-0.23.0-cp312-abi3-pyodide_2024_0_wasm32.whl, the wheel released shinylive uses today. It keeps pyodide-build 0.26.3 because newer versions name itpyemscripten_2024_0. That old version needswheel<0.46.libsass-0.23.0-cp313-abi3-pyemscripten_2025_0_wasm32.whllibsass-0.23.0-cp314-abi3-pyemscripten_2026_0_wasm32.whlpyodide xbuildenv install <version>, so the Pyodide version is set directly instead of through the pyodide-build version.devnow run the build too, so the wheels can be downloaded and checked from the run. The deploy job only runs on pushes todev.macos-15-intel. GitHub is short on macOS arm64 runners, and jobs waiting for one were cancelled. Linux doesn't work:setup.pypasses-std=gnu++0xto the C file there, which Emscripten rejects.keep_files: true. That keeps any other wheels already on gh-pages.To add a Pyodide version later, add a matrix entry.
pyodide xbuildenv search --alllists the Python and Emscripten versions for each release.