Publish experimental wheels for Pyodide - #1620
Conversation
|
edit: #1621 is now passing. I am cautiously optimistic about having 0.18.1 published on PyPI with Pyodide support https://github.com/Qiskit/rustworkx/actions/runs/27928021872/job/82634272562 |
mtreinish
left a comment
There was a problem hiding this comment.
Config-wise this looks correct to me, it matches the docs from cibuildwheel on how to do pyodide builds. Just one question inline about our support tiers.
|
I am going to keep an experimental tier with the reasoning “we feel free to disable any feature just to make it ship”. Right now, the feature is threading but if in the future something doesn’t work it gets ignored for experimental targets. |
|
Tick the box to add this pull request to the merge queue (same as
|
|
@Mergifyio backport stable/0.18 |
✅ Backports have been createdDetails
|
Following PEP 783, we can publish the wheels. This is super new, I think we'd be one of the first libraries to actually publish Pyodide to PyPI.
With that being said, #1451 would be unblocked by this:
jupyterlitewould have a pinned version mapping to Pyodide 3.14.x. Pyodide 3.14.x would download therutsworkx_wasm-0.18.1-cp314-cp314-pyemscripten_2026_0_wasm32.whlwheel from PyPI, and things would just work.For 0.18.1, I do not want to change cibuildwheel for other wheels. So this wheel will be treated specially. I do think there might be some long-term discussion of what Pyodide versions will be supported. But as long as we don't promise too much and our docs become interactive, I think it is a a win.