[Ops] Align Python version across CI, image, and docs #87
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
The Dockerfile ships
python:3.14-slimfor both runtime images (Dockerfile:16backend-base,Dockerfile:99bot-base), while all CI runs Python 3.12:.forgejo/workflows/ci.yml:97,ci.yml:134,ci.yml:168, and.forgejo/workflows/dependency-audit.yml:47and:75. Dockerfile header comments and bothCLAUDE.mdfiles also say 3.12.Current behavior
Tests, lint, and dependency audits all run on a different interpreter than production. A 3.14-only behavior change (or a dependency that resolves differently) ships untested; the audit checks wheels resolved for the wrong interpreter.
Fix / Spec
python:3.12-slimas the safer, actually-tested prod target. (Alternative: bump every CIpython-versionto 3.14 — only if all deps, notably discord.py voice + audioop concerns, are verified on 3.14.)Dockerfile:16andDockerfile:99base images plus any header commentspython-versionentries in.forgejo/workflows/ci.yml(lines 97, 134, 168) and.forgejo/workflows/dependency-audit.yml(lines 47, 75)CLAUDE.mdand any component CLAUDE.mdrenovate.jsondigest-pins the python image — confirm the pin/digest updates cleanly for the chosen tag and Renovate keeps tracking it.Acceptance criteria
grep -rfor the losing version string returns only CHANGELOG/history entries.References
Dockerfile:16,Dockerfile:99.forgejo/workflows/ci.yml:97,134,168.forgejo/workflows/dependency-audit.yml:47,75renovate.jsonFiled from the July 2026 full-project review.