Skip to content

Add PyPI publish workflow and tag-based versioning - #37

Merged
edsonportosilva merged 1 commit into
mainfrom
automate-pypi
Oct 15, 2026
Merged

edsonportosilva merged 1 commit into
mainfrom
automate-pypi

Conversation

@edsonportosilva

Copy link
Copy Markdown
Owner

Publish to PyPI via Trusted Publishing when a GitHub release is published. Derive the package version from the Git tag with setuptools-scm.

Publish to PyPI via Trusted Publishing when a GitHub release is published.
Derive the package version from the Git tag with setuptools-scm.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No blocking issues were identified in the versioning configuration or release publishing workflow.

0 open findings

What changed in this PR

Adds automated PyPI publishing for GitHub releases and derives package versions from Git tags.

Changes:

  • Replaces the fixed version with setuptools-scm, retaining a fallback.
  • Declares the build backend and dependencies.
  • Builds release artifacts and publishes through Trusted Publishing.
File Description
setup.py Enables tag-based versioning with a fallback.
pyproject.toml Declares setuptools and setuptools-scm build requirements.
.github/​workflows/​publish.yml Builds and publishes packages when releases are published.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@edsonportosilva
edsonportosilva merged commit a8b5afd into main Oct 15, 2026
5 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