-
Notifications
You must be signed in to change notification settings - Fork 25
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
Compiling to a WebAssembly target #39
Comments
I raised pyodide/pyodide#4789 and I think the recipe seems to build without issues with the Emscripten toolchain – I'm now waiting for the tests to run (and hopefully pass). Would one of the maintainers have sufficient bandwidth and like to be listed as a maintainer for the recipe as well, besides me? |
Many thanks @agriyakhetarpal for reaching out, and for the excellent overview of the context within which this sits. I had a cursory look at the PRd and associated documents/files/etc, and whether with what you mentioned above it seems like the package is already compiling as expected? I saw some failures in some of the CI jobs in pyodide/pyodide#4789, but I'm not familiar with the overall state of that pipeline; in a words, are those failures expected? In terms of commitment, I can fully commit to enhance this package in any way it's required to compile in wasm platforms. OTOH I'd be hesitant to add myself as a maintainer of the pyodide recipe at this stage, since I'm 100% not familiar with their build process. I'm in a long period of leave ATM, but I might be able to play with it a bit, and maybe I'd gain some confidence. And again, changes to this package I'm more than happy to support. Finally, as it turns out, we ourselves will probably end up using zarr in the near future in our of our projects, so it's nice this is coming back all the way. |
Thank you for the warm response, @rtobar! Yes, the package is already compiling as expected and some of the CI jobs, quoting the words of the core Pyodide developers, are a bit flaky at some time or the other and therefore are known failures, even if they are expected ones or not. I think I just need to fix the
I understand your uncertainty about not wishing to be a maintainer for the Pyodide recipe, no worries about it – I can act as the de facto maintainer in that regard. The blog posts and the documentation are, IMO, excellent resources to read up on if you would wish to know more. One way that I would be happy to set that up for you and maintain it for a few iterations of the bi-annual Pyodide releases as you see fit, please let me know! That said, it could also be overkill, though, since we are going to be using a subset of the test suite for the in-tree job, and given the size of the package, it might not be needed in essence. Indeed, Zarr is wonderful and to keep supporting it for WebAssembly would be great – getting |
Successfully merged! |
Thanks again @agriyakhetarpal for spearheading this effort! I'll shy away from adding an off-tree job in this repository, specially now that the package is part of pyodide (great work!):
With that, I'll close this issue, this is great news 🎉 |
Hi there! I am trying to package, in specific, add a recipe for
crc32c
for Pyodide, a Python distribution compiled using the Emscripten toolchain to WebAssembly that enables running Python code in the browser. I thought that I should reach out here! Would a package maintainer or core developer forcrc32c
be able to help out on the compilation side of things? I imagine that with the help of the maintainers and author(s) here, this arduous task would be rendered much easier than with the efforts of a limited number of people who would otherwise be trying to figure this out alone.I would be happy to share further context around this: the reason for this feature request is that version 3 of the Zarr Python package is going to use
crc32c
as a required dependency, and therefore wheels forcrc32c
for awasm32
platform tag (with the ABI and ABI tags managed by the Emscripten version), which would be distributed through the Pyodide CDN across browsers and handled by Pyodide's infrastructure and developer tooling for building in-tree packages would be a wonderful addition towards bringing Zarr (and other dependents that might be usingcrc32c
) to run on WASM-based platforms like JupyterLite.xref: here is the corresponding issue on the Pyodide repository that I opened a while ago: pyodide/pyodide#4787
The text was updated successfully, but these errors were encountered: