Skip to content

Bump version to 0.0.35 to trigger PyPI publish - #99

Merged
GuanyiLi-Craig merged 1 commit into
mainfrom
gl/bump-version-0.0.35
Jun 21, 2026
Merged

Bump version to 0.0.35 to trigger PyPI publish#99
GuanyiLi-Craig merged 1 commit into
mainfrom
gl/bump-version-0.0.35

Conversation

@GuanyiLi-Craig

Copy link
Copy Markdown
Contributor

Why

The 0.0.35 release was cut (GitHub tag + release exist), but grafi==0.0.35 was never published to PyPI. PyPI is still on 0.0.34.

The release pipeline in .github/workflows/ci.yaml publishes to PyPI only when the version in pyproject.toml differs from the version already on PyPI, on pushes to main:

publish_pypi:
  if: github.ref == 'refs/heads/main' && needs.version.outputs.package-version != needs.version.outputs.remote-version
github_release:
  needs: [publish_pypi, version]

On the #98 merge to main, pyproject.toml still read 0.0.34 (== the PyPI version), so:

success   Get Package Version
skipped   Publish to PyPI      ← version == PyPI version
skipped   Github Release       ← needs: publish_pypi (skipped ⇒ skipped)

The manually-cut tag/release couldn't publish either: the tag 0.0.35 doesn't match the workflow's v*.*.* tag trigger, and the publish jobs are all gated on github.ref == 'refs/heads/main'.

What this does

Bumps pyproject.toml and uv.lock from 0.0.340.0.35. Once merged to main, CI will detect 0.0.35 != 0.0.34 and publish grafi 0.0.35 to PyPI. The existing GitHub release is preserved (github_release uses skipIfReleaseExists: true).

Follow-ups (not in this PR)

  • Decouple github_release from publish_pypi so a skipped publish doesn't also skip the release.
  • Surface a clear "version unchanged, nothing published" signal instead of silently skipping, so a merge that publishes nothing doesn't look fully successful.

🤖 Generated with Claude Code

The release pipeline publishes to PyPI only when the version in
pyproject.toml differs from the version on PyPI (see the publish_pypi
job's `if` condition in .github/workflows/ci.yaml). The 0.0.35 release
was cut as a GitHub tag/release, but pyproject.toml still read 0.0.34
(== the PyPI version), so the publish_pypi and github_release jobs were
skipped on the merge to main and nothing was published.

Bumping pyproject.toml (and uv.lock) to 0.0.35 lets the next push to
main detect the version mismatch and publish grafi 0.0.35 to PyPI.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 21, 2026 14:49

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@GuanyiLi-Craig
GuanyiLi-Craig merged commit 1c7048c into main Jun 21, 2026
19 of 20 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