Add CI to build pyodide package#210
Conversation
|
Warning Review limit reached
Next review available in: 41 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughAdds a ChangesPyodide build integration
Estimated code review effort: 2 (Simple) | ~10 minutes Sequence Diagram(s)sequenceDiagram
participant CI as CI Workflow
participant BuildPyodide as build-pyodide job
participant Release as release job
participant GHRelease as gh-release job
CI->>BuildPyodide: run cibuildwheel (CIBW_PLATFORM=pyodide)
BuildPyodide->>BuildPyodide: upload wheels-pyodide artifact
BuildPyodide-->>Release: satisfy needs dependency
BuildPyodide-->>GHRelease: satisfy needs dependency
Release->>Release: publish to PyPI
GHRelease->>GHRelease: create GitHub release
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull request overview
Adds Pyodide wheel building to the repository’s CI so Pyodide-compatible (pyemscripten) wheels can be produced and included in release publishing.
Changes:
- Configure
cibuildwheelfor the Pyodide platform (CPython 3.14) inpyproject.toml. - Add a dedicated
build-pyodideGitHub Actions job that builds and uploads Pyodide wheels. - Make release jobs depend on the new Pyodide build job so artifacts are included in tag releases.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| pyproject.toml | Adds Pyodide-specific cibuildwheel build/test configuration. |
| .github/workflows/CI.yml | Introduces a build-pyodide job and wires it into release dependencies/artifacts. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| - name: Build wheel | ||
| run: | | ||
| python3 -m pip install cibuildwheel==4.1.0 | ||
| python3 -m cibuildwheel --output-dir dist | ||
| env: | ||
| CIBW_PLATFORM: pyodide | ||
|
|
| - name: Install correct python version | ||
| uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 #v6.3.0 | ||
| with: | ||
| python-version: 3.14 | ||
|
|
With the acceptance of PEP 783, package maintainers can now build and publish Pyodide-compatible wheels (pyemscripten platform) directly to PyPI. Submiting this PR to build python package in python-calamine repository, so pyodide packages can be uploaded to PyPI
Summary by CodeRabbit