Skip to content

ci: Build python wheels for wasm targets#2845

Merged
aborgna-q merged 4 commits intomainfrom
ab/wasm
Feb 6, 2026
Merged

ci: Build python wheels for wasm targets#2845
aborgna-q merged 4 commits intomainfrom
ab/wasm

Conversation

@aborgna-q
Copy link
Copy Markdown
Collaborator

@aborgna-q aborgna-q commented Jan 30, 2026

Builds pyodide-compatible wheels for hugr-py (targeting wasm32-unknown-emscripten).
Pypi doesn't support wasm wheels, so we now upload all built wheels to the release assets.

test run

@aborgna-q aborgna-q force-pushed the ab/wasm branch 30 times, most recently from f09f336 to 859478e Compare January 30, 2026 17:18
@aborgna-q aborgna-q force-pushed the ab/wasm branch 3 times, most recently from c5dcdfa to c3ec358 Compare January 30, 2026 18:15
@aborgna-q aborgna-q changed the base branch from main to ab/zstd-rs February 2, 2026 11:55
@codecov
Copy link
Copy Markdown

codecov bot commented Feb 2, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.73%. Comparing base (8a8f960) to head (daa207e).

Additional details and impacted files
@@             Coverage Diff             @@
##           ab/zstd-rs    #2845   +/-   ##
===========================================
  Coverage       83.73%   83.73%           
===========================================
  Files             264      264           
  Lines           53101    53101           
  Branches        47374    47374           
===========================================
  Hits            44462    44462           
  Misses           6250     6250           
  Partials         2389     2389           
Flag Coverage Δ
python 88.58% <ø> (ø)
rust 83.14% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@aborgna-q aborgna-q marked this pull request as ready for review February 2, 2026 12:09
@aborgna-q aborgna-q requested a review from a team as a code owner February 2, 2026 12:09
@aborgna-q aborgna-q requested review from ss2165 and removed request for a team February 2, 2026 12:09
github-merge-queue bot pushed a commit that referenced this pull request Feb 2, 2026
#2845 adds a WASM target for `hugr-py` wheels, but the `pyzstd`
dependency is not supported by pyodide.

This PR removes the python dependency, exposing instead a binding to the
rust zstd denpency.
Base automatically changed from ab/zstd-rs to main February 2, 2026 16:30
@aborgna-q aborgna-q modified the milestones: hugr-rs 0.25.X, hugr-py 0.15.X Feb 3, 2026
@aborgna-q aborgna-q requested review from cqc-alec and removed request for ss2165 February 6, 2026 15:12
@aborgna-q aborgna-q added this pull request to the merge queue Feb 6, 2026
Merged via the queue into main with commit 10aa48d Feb 6, 2026
25 checks passed
@aborgna-q aborgna-q deleted the ab/wasm branch February 6, 2026 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants