[REL] Preserve a/b suffixes in tag_regex#1627
Conversation
Update setuptools-scm tag_regex patterns to capture a/b pre-release suffixes in cuda-bindings, cuda-core, cuda-pathfinder, and cuda-python. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Auto-sync is disabled for ready for review pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
|
I don't remember I've asked for stripping |
The context is that when we tag a release candidate, and that release candidate is shared with QA and passes cleanly, we want to release /exactly/ the same wheel as the final release. The existing version regex here makes it so the tag I think the risk this is trying to avoid is that the build infra or requirements change underneath us between the rc and the final, but I see that as a separate problem to solve (making sure versions of everything in our containers are locked down etc.) that seems generally well in hand already. |
I agree with that.
I believe this will happen, but it seems super unlikely that that will invalidate the QA testing. |
|
Thanks for reminder. I recall the broader context now. Though I am still not sure if I was being very precise up to the "stripping
So, this PR looks good to me. |
|
/ok to test |
This comment has been minimized.
This comment has been minimized.
|
In connection with PR #1606 I looked into how we could do test-run releases, to validate our tooling.
Main pain-point: our current
tag_regexstripsa/b/rcsuffixes, so even tags like1.2.3a1collapse to1.2.3. That makes it hard to do mainstream release test-runs.IIRC @leofang explained that we need to strip
rc, but could we not stripa/b? -- That's this PR.Assuming #1606 is merged, do we actually still need the
rcstripping, or could we go fully mainstream?