Skip to content

Add automated PyPI publishing with version management#164

Merged
schulzchristian merged 1 commit intoKaHIP:masterfrom
alexandersvozil:python-pypi-package
Nov 3, 2025
Merged

Add automated PyPI publishing with version management#164
schulzchristian merged 1 commit intoKaHIP:masterfrom
alexandersvozil:python-pypi-package

Conversation

@alexandersvozil
Copy link
Contributor

This commit introduces fully automated PyPI package publishing with automatic version management using setuptools-scm. No manual version updates are needed anymore - just create and push a git tag to release a new version.

Changes:

  • Configure setuptools-scm to derive version from git tags automatically
  • Add GitHub Actions workflow for building and publishing to PyPI
  • Build wheels for Linux (manylinux) and macOS across Python 3.8-3.12
  • Support both trusted publishing and API token authentication
  • Update README.md table formatting for better readability

To release a new version:
git tag v3.20.0 git push origin v3.20.0

The tag format v*.. is automatically converted to the package version (e.g., v3.20.0 becomes 3.20.0). GitHub Actions handles the rest: building wheels for multiple platforms and Python versions, then publishing to PyPI.

🤖 Generated with Claude Code

This commit introduces fully automated PyPI package publishing with automatic
version management using setuptools-scm. No manual version updates are needed
anymore - just create and push a git tag to release a new version.

Changes:
- Configure setuptools-scm to derive version from git tags automatically
- Add GitHub Actions workflow for building and publishing to PyPI
- Build wheels for Linux (manylinux) and macOS across Python 3.8-3.12
- Support both trusted publishing and API token authentication
- Update README.md table formatting for better readability

To release a new version:
  git tag v3.20.0
  git push origin v3.20.0

The tag format v*.*.* is automatically converted to the package version (e.g.,
v3.20.0 becomes 3.20.0). GitHub Actions handles the rest: building wheels for
multiple platforms and Python versions, then publishing to PyPI.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@schulzchristian schulzchristian merged commit f05b4eb into KaHIP:master Nov 3, 2025
8 checks passed
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