Releasing¶
PyPI¶
Run the Deploy Release workflow (or just release locally). It:
- bumps the version in
pyproject.tomlwithuv version --bump patch(orminor,major); - sets the crate's version in
Cargo.tomlto match; - commits
chore(release): bump 🐍 -> vX.Y.Zand tagspy-X.Y.Z; - pushes the commit and the tag.
The tag starts the CI workflow, which builds the wheels and the sdist and uploads them
to PyPI with Trusted Publishing (the pypi environment). The repository needs a PyPI
trusted publisher for lmmx/pq-glue, workflow CI.yml, environment pypi.
crates.io¶
just ship-rust runs release-plz: it updates the version and changelog, commits
chore(release): 🦀 Upgrades, pushes, and publishes the crate with a pq-glue-vX.Y.Z tag.