Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
37 changes: 37 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand All @@ -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
}
]
}