Skip to content

Publish experimental wheels for Pyodide - #1620

Merged
mtreinish merged 8 commits into
Qiskit:mainfrom
IvanIsCoding:pyemscripten
Jul 29, 2026
Merged

Publish experimental wheels for Pyodide#1620
mtreinish merged 8 commits into
Qiskit:mainfrom
IvanIsCoding:pyemscripten

Conversation

@IvanIsCoding

@IvanIsCoding IvanIsCoding commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

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: jupyterlite would have a pinned version mapping to Pyodide 3.14.x. Pyodide 3.14.x would download the rutsworkx_wasm-0.18.1-cp314-cp314-pyemscripten_2026_0_wasm32.whl wheel 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.

@IvanIsCoding

IvanIsCoding commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator Author

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

@IvanIsCoding
IvanIsCoding marked this pull request as ready for review June 22, 2026 03:44
@IvanIsCoding IvanIsCoding changed the title [WIP] Publish experimental wheels for Pyodide Publish experimental wheels for Pyodide Jun 22, 2026
@IvanIsCoding
IvanIsCoding requested a review from mtreinish June 22, 2026 03:48

@mtreinish mtreinish left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread docs/source/install.rst
@IvanIsCoding
IvanIsCoding requested a review from mtreinish July 24, 2026 17:36
@IvanIsCoding

Copy link
Copy Markdown
Collaborator Author

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.

@mtreinish
mtreinish added this pull request to the merge queue Jul 29, 2026
@mergify

mergify Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@mtreinish mtreinish added the stable-backport-potential This PR or issue is potentially worth backporting for inclusion in a stable branch label Jul 29, 2026
Merged via the queue into Qiskit:main with commit e98a63f Jul 29, 2026
69 of 73 checks passed
@mtreinish

Copy link
Copy Markdown
Member

@Mergifyio backport stable/0.18

@mergify

mergify Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

backport stable/0.18

✅ Backports have been created

Details

mtreinish pushed a commit that referenced this pull request Jul 29, 2026
* Publish experimental wheels for Pyodide

* Install Emscripten Rust target for wheel builds

(cherry picked from commit e98a63f)

Co-authored-by: Ivan Carvalho <8753214+IvanIsCoding@users.noreply.github.com>
@IvanIsCoding
IvanIsCoding deleted the pyemscripten branch July 29, 2026 22:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stable-backport-potential This PR or issue is potentially worth backporting for inclusion in a stable branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants