Conversation
There was a problem hiding this comment.
Pull request overview
This PR prepares the 0.2.1 release by updating package metadata and adjusting the GitHub Actions release workflow to publish distributions using uv instead of maturin upload.
Changes:
- Bump project version to
0.2.1in bothpyproject.tomlandCargo.toml. - Add
descriptionandreadmemetadata topyproject.toml. - Update release workflow to install
uvand publish artifacts viauv publish; improve README shell code fences.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
pyproject.toml |
Bumps version and adds package metadata (description, readme) for PyPI. |
Cargo.toml |
Bumps Rust crate version to match the release. |
README.md |
Tweaks installation command code fences for clearer rendering. |
.github/workflows/CI.yml |
Switches the publish step from maturin-action upload to uv publish. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| merge-multiple: true | ||
| - name: Install uv | ||
| uses: astral-sh/setup-uv@v8 | ||
| - name: Publish to PyPI | ||
| uses: PyO3/maturin-action@v1 | ||
| with: | ||
| command: upload | ||
| args: --skip-existing * | ||
| run: uv publish wheels-* |
There was a problem hiding this comment.
actions/download-artifact with merge-multiple: true extracts the built distributions (e.g., *.whl, *.tar.gz) into the workspace; it does not create files matching wheels-*. As written, uv publish wheels-* will expand to nothing (or publish the wrong paths) and the release job won’t upload the built artifacts. Publish the actual distribution files (e.g., set download-artifact path: dist and run uv publish dist/*, or publish target/wheels/* depending on where the artifacts land).
descriptionandreadmefields topyproject.tomlPyO3/maturin-actionwithuvfor uploading packages.maturin uploadwill be deprecated.