Publishing WASM wheels to PyPI for use with Pyodide

AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.

Why it matters

Python developers can now publish and install WebAssembly-compatible wheels for Pyodide directly on PyPI, removing the bottleneck where maintainers manually hosted 300+ packages.

Read this as

Pyodide is a project that runs Python code inside a web browser using WebAssembly, a technology for running compiled code on web pages. Its new 314.0 release lets developers publish special WebAssembly packages straight to PyPI, the standard store for Python packages, instead of waiting for the Pyodide team to review and host everything themselves. Simon Willison tested this by packaging Luau, a Roblox-built programming language, as a 276KB package called luau-wasm.

Pyodide's maintainers previously had to manually build, review and host every WebAssembly package themselves, which was a bottleneck for the whole browser-based Python ecosystem. PyPI now accepts these wheels as of its April 21st change, shifting distribution and maintenance costs onto package authors. Twenty-eight packages have adopted the new format so far; the Pyodide team sheds a major operational burden.

Pyodide 314.0 and the merged PyPI warehouse PR support wheels with pyemscripten_202*_wasm32 tags as defined by PEP 783. Willison used Codex with GPT-5.5 xhigh to package his Luau experiment, publishing a 276KB luau_wasm-0.1a0 wheel via cibuildwheel and GitHub Actions, installable through micropip. A BigQuery query against PyPI's public dataset found 28 packages using the new platform tag, including pydantic_core, onnx and typst.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

Pyodide PyPI PEP 783 Luau luau-wasm cibuildwheel

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading