[PR #1471] [MERGED] docs/testing.md: Python 3.12+, as make_game.py requires (DOC-TESTING-PYTHON-MIN) #1501

Closed
opened 2026-11-26 20:21:28 +01:00 by 4ld0 · 0 comments
Owner

📋 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)

  • 1f6acd8 docs/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.md gives a lower Python minimum than the code accepts:

  • "What you need" (line 16) says Python 3.11+.
  • The troubleshooting row for the dict | None annotation error (line 759) says "Use Python 3.11+".

make_game.py requires 3.12. It exits with "Python 3.12 or newer is needed" at make_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 run make_game.py, and make_game.py's own tests fail.

Both lines now say 3.12+. The note that scripts/run_gpu_tests.py on its own runs on 3.10 or newer stays.

Tested

  • I ran tests/test_make_game*.py with CPython 3.11 on Windows 11, on current main. 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 --check is clean.

GPUs tested: n/a

AI-assisted: yes (Claude Code)

Checklist

  • Based on current main and merges cleanly (a conflicting pull request is labeled needs rebase).
  • One topic; follow-up work goes in a new pull request.
  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
  • A new translator rule is in the contract table of 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.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/1471 **Author:** [@LouisRiverstone](https://github.com/LouisRiverstone) **Created:** 11/25/2026 **Status:** ✅ Merged **Merged:** 11/25/2026 **Merged by:** [@Andretuta](https://github.com/Andretuta) **Base:** `main` ← **Head:** `doc-testing-python-min` --- ### 📝 Commits (1) - [`1f6acd8`](https://github.com/ubiquitarianism/leonida/commit/1f6acd893deb77ceaa9925cdcfe8188d89c77a02) docs/testing.md: Python 3.12+, as make_game.py requires (DOC-TESTING-PYTHON-MIN) ### 📊 Changes **1 file changed** (+3 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `docs/testing.md` (+3 -2) </details> ### 📄 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.md` gives a lower Python minimum than the code accepts: - "What you need" (line 16) says **Python 3.11+**. - The troubleshooting row for the `dict | None` annotation error (line 759) says "Use Python 3.11+". `make_game.py` requires 3.12. It exits with "Python 3.12 or newer is needed" at `make_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 run `make_game.py`, and `make_game.py`'s own tests fail. Both lines now say 3.12+. The note that `scripts/run_gpu_tests.py` on its own runs on 3.10 or newer stays. ### Tested - I ran `tests/test_make_game*.py` with CPython 3.11 on Windows 11, on current `main`. 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 --check` is clean. GPUs tested: n/a AI-assisted: yes (Claude Code) ### Checklist - [x] Based on current `main` and merges cleanly (a conflicting pull request is labeled `needs rebase`). - [x] One topic; follow-up work goes in a new pull request. - [x] No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here. - [ ] A new translator rule is in the contract table of `docs/design.md`, with how it was confirmed. (n/a: documentation only) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
4ld0 2026-11-26 20:21:28 +01:00
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
starred/leonida#1501
No description provided.