DOC Update Pyodide to 314.0.4 in JupyterLite deployment - #34534
DOC Update Pyodide to 314.0.4 in JupyterLite deployment#34534agriyakhetarpal wants to merge 6 commits into
Conversation
|
I updated the lockfiles locally, but they didn't update jupyterlite-core and jupyterlite-pyodide-kernel, as they are pinned by jupyterlite-sphinx. I'll have to make a release with relaxed constraints there, and will come back here when done. |
https://github.com/jupyterlite/jupyterlite-sphinx/releases/tag/v0.23.0 is now out, and this PR is now unblocked. |
|
Good to know that polars is back even if browsing quickly https://github.com/xlwings/polars-pyodide/ it seems like support is not from the main polars repo. It's probably still a bit brittle but at least it is going in the right direction 😉! |
|
Yes, indeed. polars upstream is a bit hesitant to add back support for Emscripten/Pyodide as conversations have emerged in pola-rs/polars#24058 and elsewhere. However, https://github.com/xlwings/polars-pyodide/?rgh-link-date=2026-08-17T10%3A16%3A45Z continues to build and function with most features enabled (outside of cloud features and the like). |
|
Works for me, @lesteve; I'm happy to rebase after that one is merged! |
|
Two questions trying it out on in the generated doc on this example that uses polars with this JupyterLite link
|

Reference Issues/PRs
This PR should enable Polars to work in Pyodide notebooks such as https://scikit-learn.org/stable/lite/lab/index.html?path=auto_examples%2Fcompose%2Fplot_digits_pipe.ipynb, as PyArrow and Polars builds are back in newer versions of Pyodide (pyodide/pyodide-recipes#560, pyodide/pyodide-recipes#580)
Opened after discussing with @glemaitre in person at EuroSciPy 2026!
What does this implement/fix? Explain your changes.
Updates the Pyodide version in the JupyterLite configuration and regenerates the doc lock file so that
jupyterlite-pyodide-kernelversion 0.8.3 (which bundles that Pyodide) can be installed. This depends on the newly releasedjupyterlite-sphinxversion 0.23.0, which has relaxed itsjupyterlite-core.First time contributor introduction
N/A
AI usage disclosure
I did not use AI assistance for this PR.
Any other comments?
None