mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-27 00:50:52 +01:00
[PR #1471] [MERGED] docs/testing.md: Python 3.12+, as make_game.py requires (DOC-TESTING-PYTHON-MIN) #1501
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#1501
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?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/1471
Author: @LouisRiverstone
Created: 11/25/2026
Status: ✅ Merged
Merged: 11/25/2026
Merged by: @Andretuta
Base:
main← Head:doc-testing-python-min📝 Commits (1)
1f6acd8docs/testing.md: Python 3.12+, as make_game.py requires (DOC-TESTING-PYTHON-MIN)📊 Changes
1 file changed (+3 additions, -2 deletions)
View changed files
📝
docs/testing.md(+3 -2)📄 Description
Claimed in the coordination issue as: DOC-TESTING-PYTHON-MIN (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7149041501)
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)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.