Repository navigation
2026 11 27 hold python at 3 14
History. Written 2026-11-27 for Dr K: the plan of record for #94, built in #95. It changes no requirement: package PKG-7 (
requires-python >=3.11) and PKG-8 (3.11 to 3.14) are already what this holds. Shipped in #95. Overtaken: nothing yet.
For agentic workers: REQUIRED SUB-SKILL: Use skill://superpowers/subagent-driven-development/SKILL.md (recommended) or skill://superpowers/executing-plans/SKILL.md to implement this plan task-by-task. Steps use checkbox (
- [ ]) syntax for tracking.
Goal: Renovate stops offering "Update dependency python" on this repository's dependency dashboard, and says why in the rule that stops it, until pyroscope-io ships cp315 wheels.
Architecture: A root renovate.json holding one packageRules entry, the same shape as
mcp-kb's. It merges on top of the
global config that kubed-io/actions runs (config:recommended, requireConfig: "optional",
dashboard approval), so it needs no extends.
Tech Stack: Renovate's repository config (JSON), GitHub Actions.
Spec: #94's brief, approved by Dr K on 2026-11-27, with the rule's description amended on #95 to name both installs that break. This plan is the record: there's no separate spec file, because the change adds no requirement and edits none.
-
The file:
renovate.jsonat the repository root, with$schemaand one rule:description,matchDepNames: ["python"],allowedVersions: "<3.15". Nothing else: noextends, no other rule. The global config already sets everything else. -
The reason, in the description: pyroscope-io, which the
telemetryextra installs andtestpulls in, has no cp315 wheel (1.4.0 stops at cp314), and its sdist needs a Rust toolchain. So on 3.15 two installs fail, and the description names both:-
pip install .[test,tasks]intest.yml, because[test]pulls in[telemetry] -
pip install --editable '.[telemetry]'inlint.yml's Dependency Audit (line 79)
(Dr K, 2026-11-27, on #95: the description says everything that breaks on 3.15.)
-
-
The lifting condition, in the description: once pyroscope-io publishes cp315 wheels, delete the rule and move every pin to 3.15 in the same change:
lint.yml,package.yml, thetest.ymlmatrix, the pyproject classifiers and PKG-8. -
What stays:
requires-pythonstays>=3.11with no cap, because the core package installs on 3.15. No pin moves, and the spec doesn't change. -
What this repository doesn't have: an image or a Dockerfile, so the description names neither.
- The description is the text in Task 1, Step 1, word for word: the draft approved on #94, with the Dependency Audit install added on #95. It names no person.
-
allowedVersionsis exactly"<3.15", so 3.14 patch releases are still allowed. -
.github/andpyproject.tomlare not touched. No file claims 3.15 exceptrenovate.json. - No changelog line: the pull request takes the
no changeloglabel and norelease:*label, so it releases nothing. - The checks CI runs on a pull request (
pr.yml):ruff check .(lint.yml) and, afterpip install .[test,tasks],pytest(test.yml). This change can't move either one, but both stay green.
-
A config Renovate rejects. A malformed
renovate.jsonmakes Renovate open a config-error issue and stop updating the repository. The validator in Task 1, Step 2 catches this before merge. -
A rule that matches nothing. The pins Renovate offers to bump are the
python-version: '3.14'inputs toactions/setup-pythoninlint.yml(lines 38 and 69) andpackage.yml(line 70), and Renovate names that dependencypython. That's the name mcp-kb's rule matches, and it works there. The real check is the "Done when" below, after merge. -
Holding back 3.14 patch releases.
<3.15allows every 3.14.x. The pins say'3.14', so there's nothing to bump inside 3.14 anyway. -
The
test.ymlmatrix. It's built withfromJSONand Renovate can't parse it, so this rule doesn't cover it. Whoever lifts the rule moves it by hand, and the description names it for that reason. -
requires-python.>=3.11already allows 3.15, so Renovate has nothing to offer there, and this rule doesn't cap it.
Files:
- Create:
renovate.json
Interfaces:
-
Consumes: the global Renovate config in
kubed-io/actions(renovate/config.json), unchanged. -
Produces: nothing code reads.
-
Step 1: Write
renovate.json, to read exactly:
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"packageRules": [
{
"description": "Hold the interpreter at 3.14: pyroscope-io (kubed-mcp[telemetry], which [test] pulls in) ships no cp315 wheel, and its sdist needs a Rust toolchain, so on 3.15 both `pip install .[test,tasks]` in test.yml and the Dependency Audit's `pip install --editable '.[telemetry]'` in lint.yml fail. Lift this rule once pyroscope-io publishes cp315 wheels, then move lint.yml, package.yml, the test.yml matrix, the pyproject classifiers and spec PKG-8 to 3.15 together.",
"matchDepNames": ["python"],
"allowedVersions": "<3.15"
}
]
}Two-space indent and a trailing newline.
- Step 2: Validate it
Run: npx --yes --package renovate -- renovate-config-validator renovate.json
Expected: Validating renovate.json and then Config validated successfully, exit 0.
If npx isn't available, run
pipx run check-jsonschema --schemafile https://docs.renovatebot.com/renovate-schema.json renovate.json.
Expected: ok -- validation done. Say in the PR which of the two ran.
- Step 3: Check that nothing else claims 3.15
Run: grep -rnE '3\.15|cp315' --exclude-dir=.git --exclude-dir=.issue . | grep -v '^./renovate.json:'
Expected: no output.
Then run grep -n "python-version" .github/workflows/*.yml and
grep -n "Python ::" pyproject.toml. Expected: every version named is 3.14 or lower, and
requires-python still reads ">=3.11".
- Step 4: Run the CI checks
Run: ruff check . && pip install .[test,tasks] && pytest
Expected: all pass.
- Step 5: Commit
git add renovate.json
git commit -m "chore(renovate): hold Python at 3.14 until pyroscope-io ships cp315 wheels"Done when: Renovate's next run, on the push to main, drops "Update dependency python" from the dependency dashboard. Dr K checks this after merge, because no check in the pull request can see the dashboard.
These pages describe what is on main; the spec says what is built and what is only proposed.
kubed-mcp · MIT