Skip to content

Commit ff55026

Browse files
committed
fix(renovate): use rangeStrategy "bump" for pep621
pep621 has no manager-specific range strategy, so "auto" resolves to "replace". With "replace", a ">=" lower bound that already allows the new version produces no update at all, which would make the lower bounds added to pyproject.toml useless. "bump" raises the lower bound in pyproject.toml and updates uv.lock in the same PR. Checked with a local renovate dry-run on a copy with older locked versions: "replace" proposed nothing, while "bump" proposed boto3 >=1.43.90 -> >=1.43.102, requests >=2.33.0 -> >=2.34.2, etc.
1 parent 8e5fb21 commit ff55026

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎renovate.json‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
"python": "3.13"
77
},
88
"packageRules": [
9+
{
10+
"description": "Bump the '>=' lower bounds in pyproject.toml together with uv.lock. With the default 'replace' strategy a '>=' range already satisfied by the new version produces no update at all",
11+
"matchManagers": ["pep621"],
12+
"rangeStrategy": "bump"
13+
},
914
{
1015
"description": "Python is pinned to 3.13.x (Heroku, Docker, mise): never bump requires-python",
1116
"matchManagers": ["pep621"],

0 commit comments

Comments
 (0)