Package: stemsplit-python on PyPI
GitHub: https://github.com/StemSplit/stemsplit-python
Publishing is fully automated via GitHub Actions (release.yml). Never publish manually from a local machine.
-
Bump the version in
pyproject.toml:version = "0.2.0"
-
Update
CHANGELOG.mdwith the new release notes. -
Commit and push to
main:git add pyproject.toml CHANGELOG.md git commit -m "chore: bump version to 0.2.0" git push origin main -
Create and push a tag — this triggers the CI release:
git tag v0.2.0 git push origin v0.2.0
-
CI will:
- Build sdist + wheel using
uv build - Publish to PyPI using
uv publishwith theUV_PUBLISH_TOKENsecret - Upload distribution artifacts to the GitHub release
- Build sdist + wheel using
| Secret | Description |
|---|---|
UV_PUBLISH_TOKEN |
PyPI API token for the stemsplit-python project |
cd scripts/packages/stemsplit-python
uv sync
uv run pytest
uv run ruff check src/
uv run mypy src/Build locally (do NOT push to PyPI):
uv build
# inspect dist/ but do not run uv publish