docs/testing.md: Python 3.12+, as make_game.py requires (DOC-TESTING-PYTHON-MIN) #1471
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs rebase
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida!1471
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1471/head"
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?
@LouisRiverstone on GitHub · 2026-11-25 00:56 UTC · original
LouisRiverstone:doc-testing-python-min→main· +3 −2 · 1 files · 1 commits · merged 2026-11-25 21:24 UTCClaimed in the coordination issue as: DOC-TESTING-PYTHON-MIN (#14)
What and why
docs/testing.mdgives a lower Python minimum than the code accepts:dict | Noneannotation error (line 759) says "Use Python 3.11+".make_game.pyrequires 3.12. It exits with "Python 3.12 or newer is needed" atmake_game.py:66, and its preflight lists the same requirement at:859. The README says 3.12+, and every CI job uses 3.12. So a tester who follows this page and installs 3.11 can't runmake_game.py, andmake_game.py's own tests fail.Both lines now say 3.12+. The note that
scripts/run_gpu_tests.pyon its own runs on 3.10 or newer stays.Tested
tests/test_make_game*.pywith CPython 3.11 on Windows 11, on currentmain. Seven files fail, and the failures come from that version check:AssertionError: 1 != 0 : ERROR: Python 3.12 or newer is needed. On 3.14 they pass.tests/test_docs_*.py(12 files): all OK.git diff --checkis clean.GPUs tested: n/a
AI-assisted: yes (Claude Code)
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed. (n/a: documentation only)@PierreEbele on GitHub · 2026-11-25 15:35 UTC · original
Reviewed
1f6acd893: docs-only change (docs/testing.md: Python 3.11+ -> 3.12+, plus the dict | None row's remedy). Verified without game files using real standalone CPython 3.9/3.10/3.11: make_game.py exits with "Python 3.12 or newer is needed" on 3.11 and its tests fail there (test_make_game_preflight: 5 failures, 16 errors on 3.11; OK on 3.12 on both trees), scripts/run_gpu_tests.py --help runs on 3.10 and 3.11 and fails on 3.9 with the unsupported-|TypeError the row describes, and README and all 7 CI jobs pin 3.12. tests/test_docs_design_rows.py passes on the branch, on main and on the page merged into current main. No findings.AI-assisted review.
Recommendation: Merge