ci: Update renovate to track Arch Linux repos using repology (#4434)

This commit is contained in:
Dylan M. Taylor 2026-04-16 05:17:07 -04:00 committed by GitHub
parent 06488dfb9a
commit 98d72a6b57
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 41 additions and 4 deletions

View File

@ -18,11 +18,11 @@ classifiers = [
"Operating System :: POSIX :: Linux",
]
dependencies = [
"pyparted>=3.13.0",
"pyparted==3.13.0",
"pydantic==2.12.5",
"cryptography>=45.0.7",
"textual>=5.3.0",
"markdown-it-py[linkify]>=4.0.0",
"cryptography==46.0.7",
"textual==8.2.3",
"markdown-it-py[linkify]==4.0.0",
]
[project.urls]

View File

@ -8,6 +8,30 @@
"pre-commit": {
"enabled": true
},
"customManagers": [
{
"customType": "regex",
"description": "Track runtime Python deps via Arch Linux repos instead of PyPI",
"managerFilePatterns": ["**/pyproject.toml"],
"matchStrings": [
"\"(?<depName>pyparted|pydantic|cryptography|textual|markdown-it-py)(?:\\[.*?\\])?==(?<currentValue>[^\"]+)\""
],
"depNameTemplate": "arch/python-{{{depName}}}",
"datasourceTemplate": "repology",
"versioningTemplate": "loose"
},
{
"customType": "regex",
"description": "Track systemd_python via Arch Linux repos (different package name)",
"managerFilePatterns": ["**/pyproject.toml"],
"matchStrings": [
"\"systemd_python==(?<currentValue>[^\"]+)\""
],
"depNameTemplate": "arch/python-systemd",
"datasourceTemplate": "repology",
"versioningTemplate": "loose"
}
],
"packageRules": [
{
"matchDepTypes": [
@ -24,6 +48,19 @@
"astral-sh/ruff-pre-commit"
],
"automerge": true
},
{
"description": "Disable PyPI updates for runtime deps tracked via Arch repos",
"matchDatasources": ["pypi"],
"matchPackageNames": [
"pyparted",
"pydantic",
"cryptography",
"textual",
"markdown-it-py",
"systemd_python"
],
"enabled": false
}
]
}