fix(docs): pin jupyterlite-pyodide-kernel==0.6.1, matching RTB and bdsim - #72
Merged
Merged
Conversation
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 0 |
| Duplication | 0 |
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
Newer jupyterlite-pyodide-kernel releases bundle Pyodide >=0.27.7, which
turned WebAssembly JSPI ("stack switching") on by default. Browsers
without JSPI support (Safari as of 2026-08; Firefox only behind a flag)
either hard-crash the kernel or silently race on cell execution --
confirmed live: the deployed site failed in a browser lacking JSPI
support with "RuntimeError: WebAssembly stack switching not supported".
RTB and bdsim already independently hit and fixed this exact class of
bug by pinning jupyterlite-pyodide-kernel==0.6.1 (Pyodide 0.27.6,
predating the JSPI mechanism entirely). Bringing MVTB in line.
Also re-pins docs/lite/wasm_check's pyodide npm dependency from 314.0.3
to the matching 0.27.6 -- these two pins have to move together, or the
check silently stops representing what the real site actually runs.
Verified: wasm_check passes against the new pin (and still fails
clearly against a deliberately-broken case); built and served the real
site locally with the pin and confirmed live in the same browser that
originally hit the JSPI error -- now reports
"Running in browser using MVTB v2.2.0 with OpenCV 4.11.0" successfully.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
petercorke
force-pushed
the
fix/pin-jupyterlite-pyodide-kernel
branch
from
August 12, 2026 22:33
b113f89 to
76bd7e1
Compare
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.
Summary
jupyterlite-pyodide-kernel==0.6.1indocs.yml's "Build JupyterLite site" step. Newer releases bundle a Pyodide runtime (>=0.27.7) that turns WebAssembly JSPI ("stack switching") on by default, which either crashes the kernel or silently races on browsers without JSPI support (Safari as of 2026-08; Firefox only behind a flag).RuntimeError: WebAssembly stack switching not supported in this JavaScript runtime.docs/lite/wasm_check'spyodidenpm dependency from314.0.3to the matching0.27.6— these two pins move together, or the check silently stops representing what the real deployed site runs.Test plan
jupyterlite-pyodide-kernel==0.6.1installs cleanly alongsidejupyterlite-corewasm_checkpasses against the new pinwasm_checkstill fails clearly against a deliberately-broken case (tqdm removed from seed list) with the new pinjupyter lite build+jupyter lite serve)Running in browser using MVTB v2.2.0 with OpenCV 4.11.0🤖 Generated with Claude Code