Skip to content

Commit eec5df2

Browse files
authored
fix(renovate): pin python to 3.13 and harden config rules (#929)
- Revert python-version to 3.13 in setup-claude-code-action/action.yml for compatibility with upstream anthropics/claude-code-action. - Revert constraints.python to 3.13 in renovate.json. - Replace broken 'matchManagers: [tool-constraint]' rule (which never matched anything; tool-constraint is a depType, not a manager id) with 'matchDepTypes: [tool-constraint], enabled: false'. This is the actual root cause that allowed renovate to bump constraints.python from 3.13 to 3.14 in #908. - Add 'matchPackageNames: [python], allowedVersions: 3.13.x' as a hard version cap. - Add file-scoped 'automerge: false' rule for .github/actions/setup-claude-code-action/action.yml as a tripwire so any future bump in this file requires manual review. Rules are placed after the 'External dependencies' catch-all so that later-rule-wins semantics override the catch-all's automerge: true.
1 parent 56de293 commit eec5df2

2 files changed

Lines changed: 15 additions & 12 deletions

File tree

.github/actions/setup-claude-code-action/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ runs:
4141
- name: Setup Python
4242
uses: actions/setup-python@v6
4343
with:
44-
python-version: "3.14"
44+
python-version: "3.13"
4545

4646
- name: Install LiteLLM dependencies
4747
shell: bash

.github/renovate.json

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"commitMessageAction": "Renovate: Update",
1212
"constraints": {
1313
"go": "1.26",
14-
"python": "3.14"
14+
"python": "3.13"
1515
},
1616
"dependencyDashboardOSVVulnerabilitySummary": "all",
1717
"osvVulnerabilityAlerts": true,
@@ -62,10 +62,6 @@
6262
}
6363
],
6464
"packageRules": [
65-
{
66-
"matchManagers": ["tool-constraint"],
67-
"enabled": false
68-
},
6965
{
7066
"matchPackageNames": [
7167
"golang"
@@ -125,13 +121,20 @@
125121
"enabled": false
126122
},
127123
{
128-
"matchPackageNames": [
129-
"python"
130-
],
131-
"matchFileNames": [
132-
".github/actions/setup-claude-code-action/**"
133-
],
124+
"matchDepTypes": ["tool-constraint"],
134125
"enabled": false
126+
},
127+
{
128+
"matchPackageNames": ["python"],
129+
"allowedVersions": "3.13.x"
130+
},
131+
{
132+
"matchFileNames": [".github/actions/setup-claude-code-action/action.yml"],
133+
"automerge": false
134+
},
135+
{
136+
"matchFileNames": [".github/renovate.json"],
137+
"automerge": false
135138
}
136139
],
137140
"prHourlyLimit": 0,

0 commit comments

Comments
 (0)