gabriel / musehub public
fix patch version task/version-pep440 #1 / 1
gabriel · 75 days ago · Apr 9, 2026 · Diff

fix(version): parse PEP 440 pre-release suffixes in MUSE_VERSION_PATCH

int('0rc1') raises ValueError. Use re.match(r'\d+') to extract just the numeric patch component, handling aN, bN, rcN, and post suffixes.

sha256:ab153d24d0844c4e7b4a39e9ee563686ec523510666b8bd7d6171cc4d588163f sha
sha256:2b083f67a57e3fa7a7fe626851b210e88898ef27f25356d7e4c277f19e164ecb snapshot
← Older Oldest on task/version-pep440
All commits
Newer → Latest on task/version-pep440

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:ab153d24d0844c4e7b4a39e9ee563686ec523510666b8bd7d6171cc4d588163f --body "your comment"