Skip to content

fix(release): bump pypi-publish action to v1.14.2; fix empty release-notes excerpt - #412

Merged
azalio merged 1 commit into
mainfrom
fix-pypi-publish-action-metadata25
Aug 12, 2026
Merged

fix(release): bump pypi-publish action to v1.14.2; fix empty release-notes excerpt#412
azalio merged 1 commit into
mainfrom
fix-pypi-publish-action-metadata25

Conversation

@azalio

@azalio azalio commented Aug 12, 2026

Copy link
Copy Markdown
Owner

Summary

Release run 31590633496 for v3.25.0 failed at Publish to PyPI using OIDC; nothing was published (verified: 3.25.0 absent on PyPI, no GitHub Release).

Root causes

  1. pypa/gh-action-pypi-publish@v1.13.0 bundles an older twine that rejects Metadata-Version 2.5 wheels — the action runs its own internal twine check, so the fix(ci): allow packaging>=26 so twine check accepts Metadata-Version 2.5 #411 fix to the repo's check step didn't reach it. Upstream v1.14.2 ships twine v7 with core-metadata 2.5 support (upstream PR Update twine to v7 pypa/gh-action-pypi-publish#416).
  2. Same-class awk bug as documented in learned error-patterns: the changelog-excerpt extraction awk "/^## \[VERSION\]/,/^## \[/" collapses to one line (the heading matches both patterns) → every GitHub Release body was the stub "See CHANGELOG.md for details." (verified on v3.24.1). Fixed with a flag state machine in release.yml, the release-checklist issue template, and the map-release skill (jinja source + rendered trees; make check-render green).

Verification

  • Old awk on current CHANGELOG → 0 lines; new awk → 17 entries.
  • make check-render ✅, pytest tests/test_template_render.py tests/test_skills.py → 359 passed.

Release plan after merge

v3.25.0 tag will be moved to the merged HEAD and re-pushed (nothing was published, so the version number is unused).

🤖 Generated with Claude Code

…notes excerpt

Two release-pipeline defects found while releasing 3.25.0:

1. pypa/gh-action-pypi-publish@v1.13.0 bundles an older twine that
   rejects Metadata-Version 2.5 wheels (InvalidDistribution). The
   repo's own twine-check step was already fixed in #411, but the
   action runs its own check internally. v1.14.2 ships twine v7 with
   core-metadata 2.5 support (upstream #416). Applied in release.yml
   and test-pypi.yml.

2. The GitHub Release changelog excerpt was always empty: the
   two-address awk range /^## \[VERSION\]/,/^## \[/ collapses to a
   single line because the version heading matches both patterns, so
   every release body fell back to 'See CHANGELOG.md for details.'
   (verified on v3.24.1). Replaced with a flag state machine in
   release.yml, the release-checklist issue template, and the
   map-release skill (.jinja source + rendered trees).
@coderabbitai

coderabbitai Bot commented Aug 12, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@azalio, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 25 minutes

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 7f51c365-8f6b-4552-bc9d-b675efe2f63f

📥 Commits

Reviewing files that changed from the base of the PR and between 8cbfd35 and 3c18538.

📒 Files selected for processing (7)
  • .claude/skills/map-release/SKILL.md
  • .github/ISSUE_TEMPLATE/release-checklist.md
  • .github/workflows/release.yml
  • .github/workflows/test-pypi.yml
  • CHANGELOG.md
  • src/mapify_cli/templates/skills/map-release/SKILL.md
  • src/mapify_cli/templates_src/skills/map-release/SKILL.md.jinja

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@azalio
azalio merged commit ea6213f into main Aug 12, 2026
7 checks passed
@azalio
azalio deleted the fix-pypi-publish-action-metadata25 branch August 12, 2026 13:12
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.

1 participant