feat: PEP 783 Emscripten wheels!#502
Conversation
| ``` | ||
|
|
||
| Clone emsdk. I clone this into a specific path at `~/github/emscripten-core/emsdk` so that it can be shared across projects. | ||
| Clone emsdk. I clone this into a specific path at `~/github/emscripten-core/emsdk` so that it can be shared across projects. Then install the matching Emscripten version: |
There was a problem hiding this comment.
I would recommend using the pyodide xbuildenv install-emscripten command that we have started shipping in recent pyodide-build verions. The benefit is that it's pinned to a specific Emscripten version based on the Pyodide ABI, so you don't need to update it in various places. Another reason is that we apply a number of patches as listed here: https://github.com/pyodide/pyodide/tree/717db5e24fc6602393d194bdcd396554aa4fa90f/emsdk/patches. Some of these have been relevant for Rust extensions for our 2025 ABI and I believe 2026 ABI too.
|
Testing a wheel build run in https://github.com/kylebarron/arro3/actions/runs/27360893550 and then I'll merge and cut a new release |
|
Thanks @kylebarron! |
|
https://pypi.org/project/arro3-core/#files
Published! |
### Change list - Build wheels for `geoarrow-rust-core` for pyemscripten target - Test emscripten wheels on every PR - Remove old references to previous pyodide build scripts Derived from kylebarron/arro3#502

See https://blog.pyodide.org/posts/314-release/ and https://pydantic.dev/articles/emscripten-wheels-pydantic
Closes #343, Closes #345, see also pyodide/pyodide-recipes#99 (comment)