Skip to content

[Python] Fix PyPI version pattern to support rc tags#4366

Merged
dbrattli merged 2 commits intomainfrom
dbrattli/python-rc-version-fix
Feb 26, 2026
Merged

[Python] Fix PyPI version pattern to support rc tags#4366
dbrattli merged 2 commits intomainfrom
dbrattli/python-rc-version-fix

Conversation

@dbrattli
Copy link
Collaborator

Summary

  • The dunamai pattern in the PyPI publish workflow used theta instead of rc for release candidates
  • This caused version extraction to fail for tags like 5.0.0-rc.1
  • Replace theta with rc, which is already a valid PEP 440 pre-release identifier (no conversion needed)

Test plan

  • Verify the workflow runs successfully on the next rc release tag

🤖 Generated with Claude Code

The dunamai pattern used `theta` instead of `rc` for release
candidates, causing version extraction to fail for tags like
`5.0.0-rc.1`. Replace `theta` with `rc` which is already valid
PEP 440.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@dbrattli dbrattli force-pushed the dbrattli/python-rc-version-fix branch from 646c0e0 to 0a4eeb5 Compare February 26, 2026 22:59
@dbrattli dbrattli changed the title Fix PyPI version pattern to support rc tags [Python] Fix PyPI version pattern to support rc tags Feb 26, 2026
@dbrattli dbrattli merged commit 491820f into main Feb 26, 2026
42 of 45 checks passed
@dbrattli dbrattli deleted the dbrattli/python-rc-version-fix branch February 26, 2026 23:28
@MangelMaxime
Copy link
Member

Thank you

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