-
-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wheels for WASM #160
Comments
Hi @FrancescAlted, I stumbled into this issue from pyodide/pyodide#4287 when I was triaging and going through the issue backlog – could you please try this with the latest version of Pyodide + |
Good news! We have a preliminary version of python-blosc2 working. What would be the recommended path to let people install it easily from pyodide? Thanks! |
Awesome! The recommended path would be to add a recipe for To ensure that the WASM build remains working and to reduce effort later on, you may also consider adding a CI job in this repository to run the build and the test suite on every commit: https://pyodide.org/en/stable/development/building-and-testing-packages.html#building-and-testing-packages-out-of-tree. Please feel free to ping me on a PR if you need to! |
I did some attempt at creating wheels for WASM, and had some (mixed) experiences with Pyodide and scikit-build-core:
Pyodide needs version 0.23.4 (latest 0.24.1 does not work: Make build not working pyodide/pyodide#4287)
CMake config in python-blosc2 needs a bit of modification in order to run (see attached patch).
The included zlib-ng codec has issues with WASM compiler, so it has been removed from the list of codecs here.
Some packages (notably py-cpuinfo) are not available in Pyodide repos.
Some tests are passing, but others do not. E.g.:
I don't think fixing these should be terribly complicated, but I don't have more time now. I am attaching my modifications here in case someone else would want to continue this effort.
pyodide-python-blosc2.patch
The text was updated successfully, but these errors were encountered: