Skip to content

ci: Strip Arch pkgrel from Repology versions in Renovate config#4453

Merged
svartkanin merged 2 commits intoarchlinux:masterfrom
dylanmtaylor:fix-renovate-extractversion
Apr 21, 2026
Merged

ci: Strip Arch pkgrel from Repology versions in Renovate config#4453
svartkanin merged 2 commits intoarchlinux:masterfrom
dylanmtaylor:fix-renovate-extractversion

Conversation

@dylanmtaylor
Copy link
Copy Markdown
Contributor

Adds extractVersionTemplate to both Repology custom managers to strip the trailing Arch pkgrel suffix (e.g. -1) from versions before writing to pyproject.toml.

Without this, Renovate proposes invalid PEP 440 versions like 8.2.4-1 instead of 8.2.4.

Fixes the issue seen in #4448.

@dylanmtaylor dylanmtaylor requested a review from Torxed as a code owner April 20, 2026 21:01
Copy link
Copy Markdown
Contributor

@codefiles codefiles left a comment

Choose a reason for hiding this comment

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

Match one or more characters instead of zero or more.

Comment thread renovate.json Outdated
Comment thread renovate.json Outdated
Co-authored-by: codefiles <11915375+codefiles@users.noreply.github.com>
@dylanmtaylor dylanmtaylor requested a review from codefiles April 20, 2026 22:33
@svartkanin svartkanin merged commit 7d10f9e into archlinux:master Apr 21, 2026
9 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.

3 participants