Repository navigation
2026 11 27 python hold
History. Drafted 2026-11-27 for #251 (PR #252), from #251's notes, which Dr K approved. It has no design of its own, and no draft spec was on the branch: the design is below, under "Design". No requirement id moves.
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: A repo Renovate rule keeps the interpreter at 3.14, so the dependency dashboard stops offering "Update dependency python", and every Python pin in the repo is 3.14.
Architecture: One packageRules entry is added to the root renovate.json, after the
typescript rule. Dr K pushes the one .github/workflows/wiki.yml line himself.
Tech Stack: Renovate (the shared kubed-io config, merged with the repo's renovate.json). No
Python or ui/ dependency moves.
Spec: this plan's "Design", and #251's notes in the PR's linked issues.
Notes mode: this is internal work. No server behaviour changes, no area file or requirement id moves, and there is no changelog line (CONTRIBUTING, "The changelog").
- Why hold. pyroscope-io, which comes in with kubed-mcp's telemetry extra and is installed in the image, ships no cp315 wheel: 1.4.0 has wheels up to cp314. Its sdist needs a Rust toolchain the builder lacks. So an install on 3.15 fails. Telemetry comes before 3.15 (Dr K, 2026-11-27).
-
The rule is mcp-kb's, word for word. I read it from mcp-kb's
renovate.jsononmainon 2026-11-27, where it is the only rule:matchDepNames: ["python"],allowedVersions: "<3.15", and adescriptionthat names the missing wheels and says what lifting it takes. It has no#251suffix, though the typescript rule ends in#243, because "Done when" asks for the description to match mcp-kb's. -
What the rule reaches (Renovate's manager docs, read 2026-11-27):
- The dockerfile manager expands
ARGdefaults inFROM, soDockerfile:42ARG PY_VERSION=3.14is read as thepythonimage inFROM python:${PY_VERSION}andpython:${PY_VERSION}-slim. - The github-actions manager reads
actions/setup-python'spython-versionas thepythondependency. - Both are named
python, somatchDepNamescovers both. The docs don't say how<3.15is read under docker versioning, which has no ranges. mcp-kb runs the same rule, and the post-merge dashboard check ("Done when") shows whether it holds.
- The dockerfile manager expands
-
Pins, read 2026-11-27. None claims 3.15:
-
pyproject.toml:requires-python = ">=3.11", with classifiers from 3.11 to 3.14.tests/test_packaging.py:317asserts the floor. -
Dockerfile:42is3.14, anddocker-compose.yaml:11is${PY_VERSION:-3.14}. -
setup-pythonis'3.14'atcopilot-setup-steps.yml:53,integration.yml:93,lint.yml:46and:124, andpackage.yml:86. - The
test.yml:67matrix is 3.11 and 3.14 on a pull request, and 3.11 to 3.14 onmain. - The only pin off is
wiki.yml:143, at'3.13'. That is.github/, so Dr K's side pushes'3.14'ontoissue-251.
-
-
Nothing reads
renovate.json. No test or script does, and Renovate runs from.github/workflows/renovate.ymlwith the shared config.
-
The rule text is exactly Task 1's block. Its
descriptionmatches mcp-kb's character for character. - Keep the typescript rule (#243) first and unchanged.
-
Change nothing else:
- The agent's commit does not touch
.github/(AGENTS.md).wiki.ymlis Dr K's push. - No
pyproject.toml,Dockerfileordocker-compose.yamlchange. They are already at 3.14. - No
docs/area file, and noCHANGELOG.mdline.
- The agent's commit does not touch
-
Checks: Renovate's validator on
renovate.json, thenruff check .andpytest(CONTRIBUTING, "Commands"). The integration suite runs in CI only. -
Commits: stage exact paths, never
-a.
-
A
renovate.jsonthat Renovate can't read gets ignored or fails the run, and the hold never shows. Task 1 runs Renovate's own validator. -
The docker
pythonimage still offered at 3.15 if<3.15isn't applied under docker versioning (Design 3). The dashboard check after merge catches this. If it happens, it is a follow-up issue for Dr K, not a change to this rule, because the rule must keep mcp-kb's words. - A stray 3.13 or 3.15 pin left after Dr K's push. Task 2's grep lists every pin.
- The typescript rule changed or reordered by a reformatting editor. Task 1's diff check shows only added lines.
Files:
-
Modify:
renovate.json(add a secondpackageRulesentry after the typescript one) -
Step 1: Add the rule. The file then reads exactly:
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"packageRules": [
{
"description": "Hold typescript below 7 until typescript-eslint and svelte-check both accept 7 (typescript-eslint 8.74.0: >=4.8.4 <6.1.0; svelte-check 4.7.8: ^5 || ^6). #243",
"matchPackageNames": ["typescript"],
"allowedVersions": "<7"
},
{
"description": "Hold the interpreter at 3.14: pyroscope-io (kubed-mcp[telemetry], installed in the image) ships no cp315 wheel, and its sdist needs a Rust toolchain the builder lacks. Lift this rule once pyroscope-io publishes cp315 wheels; then move the Dockerfile, the workflow pins, the test.yml matrix and the classifiers to 3.15 together.",
"matchDepNames": ["python"],
"allowedVersions": "<3.15"
}
]
}- Step 2: Check the diff is additions only
Run: git diff renovate.json
Expected: the typescript entry's lines are unchanged. Its closing } gains a ,, and the python
entry's lines are added.
- Step 3: Validate it
Run: python -m json.tool renovate.json > /dev/null && npx --yes --package renovate -- renovate-config-validator renovate.json
Expected: exit 0, and Config validated successfully for renovate.json, with no errors or
migration notice.
- Step 4: Run the repo checks
Run: ruff check . and pytest
Expected: both clean.
- Step 5: Commit
git add renovate.json
git commit -m "Renovate: hold Python at 3.14 until pyroscope-io ships cp315 wheels (#251)"Runs after Dr K has pushed wiki.yml:143 '3.13' → '3.14' onto issue-251. If the push is not on
the branch yet, the task stops and the PR body says the line is still Dr K's.
Files: none changed by the agent.
- Step 1: List the pins
Run: git grep -nE "python-version: '|PY_VERSION[:=]|PY_VERSION:-|Python :: 3\.[0-9]+" -- .github Dockerfile docker-compose.yaml pyproject.toml
Expected: every python-version literal, ARG PY_VERSION, the compose default and the newest
classifier are 3.14. No 3.13 pin and no 3.15 anywhere. The 3.11 to 3.13 classifiers stay, and
so does the test.yml matrix (3.11 and 3.14 on a PR, 3.11 to 3.14 on main).
-
The PR body says:
- the rule's description is mcp-kb's, word for word;
-
wiki.ymlis Dr K's commit; - every pin is 3.14, from Task 2's grep.
-
Labels: the PR needs
no changelog, orPR Tasksfails. An agent can't set it, so the PR body asks for it. -
Done when: CI passes on the PR. After the merge, Renovate's next run drops "Update dependency
python" from the dashboard (#213). If a
pythonrow stays, it is Review Focus 2. - No live check: no served behaviour changes.
The action pages are generated from the server's tool schemas, so they describe the version that shipped.
selenium-flow · MIT
Start here
Guides
Lifecycle
Going places
Doing things
Getting things out
Site data
Console and network