docs: fix the non-Windows Python check lists #662

Manually merged
github merged 1 commit from gh-pr/662/head into gh-pr/662/base 2026-11-26 22:09:51 +00:00
Owner

@⁠louisdibiasi on GitHub · 2026-11-22 18:29 UTC · original
louisdibiasi:docs/non-windows-python-check-lists → main · +4 −1 · 1 files · 1 commits · merged 2026-11-22 18:46 UTC

Change

docs/non-windows-hosts.md has two copies of the platform-independent check loop, and both disagree with the CI Python job in .github/workflows/windows.yml:

  • The macOS loop installs only pefile (#396: on Apple Silicon pip builds iced-x86 from source and fails without Rust) but still runs tests/form_coverage_check.py, whose first check imports iced_x86 through form_reference. The loop stops with ModuleNotFoundError on that host.
  • Both loops omit tests/bc7_tiles_check.py, which CI and AGENTS.md run.

This removes form_coverage_check.py from the macOS loop, adds a sentence saying it and xmem_attribute_scan_check.py need iced-x86 (so run them on Linux or Windows), and adds bc7_tiles_check.py to both loops.

Independent problem, no linked issue.

Verification

Commit under test: 22deabc on 719552e. I did not run this on a Mac.

  • Before (719552e): comparing each loop with the CI Python job gives CI-not-listed=['tests/bc7_tiles_check.py', 'tests/xmem_attribute_scan_check.py'] for macOS (the xmem check is the deliberate omission) and ['tests/bc7_tiles_check.py'] for Linux.
  • To simulate a pefile-only environment I put a sitecustomize.py on PYTHONPATH that raises ModuleNotFoundError for iced_x86. On 719552e, python -B tests/form_coverage_check.py then fails: form_coverage_check.py -> form_reference.py:56 -> ModuleNotFoundError: No module named 'iced_x86', exit 1. bc7_tiles_check.py passes in the same environment.
  • On this branch, every script in the macOS loop (19) passes with iced_x86 blocked. The Linux loop (21 scripts) passes with the normal environment, and its list now equals the CI job's tests (gpu_report_format_check.py is listed in the docs but not in that CI job, unchanged).
  • python -B tests/docs_links_check.py -> Checked 10 Markdown files and 126 links.

Evidence and follow-up

Docs only. The iced-x86 simulation is an import block, not a real macOS install. #396's description records the source-build failure on Apple Silicon.

Checklist

  • One reviewable behavior (keep the non-Windows lists consistent with CI).
  • Exact commands and results above.
  • Docs link check passes.
  • No game files, dumps, links or secrets.

AI-assisted: I used Claude to find the mismatch and draft the change. I ran the commands above myself.

**@⁠louisdibiasi** on GitHub · 2026-11-22 18:29 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/662) `louisdibiasi:docs/non-windows-python-check-lists` → `main` · +4 −1 · 1 files · 1 commits · merged 2026-11-22 18:46 UTC ## Change `docs/non-windows-hosts.md` has two copies of the platform-independent check loop, and both disagree with the CI Python job in `.github/workflows/windows.yml`: - The macOS loop installs only `pefile` (#396: on Apple Silicon pip builds `iced-x86` from source and fails without Rust) but still runs `tests/form_coverage_check.py`, whose first check imports `iced_x86` through `form_reference`. The loop stops with `ModuleNotFoundError` on that host. - Both loops omit `tests/bc7_tiles_check.py`, which CI and AGENTS.md run. This removes `form_coverage_check.py` from the macOS loop, adds a sentence saying it and `xmem_attribute_scan_check.py` need `iced-x86` (so run them on Linux or Windows), and adds `bc7_tiles_check.py` to both loops. Independent problem, no linked issue. ## Verification Commit under test: 22deabc on 719552e. I did not run this on a Mac. - Before (719552e): comparing each loop with the CI Python job gives `CI-not-listed=['tests/bc7_tiles_check.py', 'tests/xmem_attribute_scan_check.py']` for macOS (the xmem check is the deliberate omission) and `['tests/bc7_tiles_check.py']` for Linux. - To simulate a pefile-only environment I put a `sitecustomize.py` on `PYTHONPATH` that raises `ModuleNotFoundError` for `iced_x86`. On 719552e, `python -B tests/form_coverage_check.py` then fails: `form_coverage_check.py -> form_reference.py:56 -> ModuleNotFoundError: No module named 'iced_x86'`, exit 1. `bc7_tiles_check.py` passes in the same environment. - On this branch, every script in the macOS loop (19) passes with `iced_x86` blocked. The Linux loop (21 scripts) passes with the normal environment, and its list now equals the CI job's tests (`gpu_report_format_check.py` is listed in the docs but not in that CI job, unchanged). - `python -B tests/docs_links_check.py` -> `Checked 10 Markdown files and 126 links.` ## Evidence and follow-up Docs only. The iced-x86 simulation is an import block, not a real macOS install. #396's description records the source-build failure on Apple Silicon. ## Checklist - [x] One reviewable behavior (keep the non-Windows lists consistent with CI). - [x] Exact commands and results above. - [x] Docs link check passes. - [x] No game files, dumps, links or secrets. AI-assisted: I used Claude to find the mismatch and draft the change. I ran the commands above myself.
The macOS quick start installs only pefile, because iced-x86 is built from
source on Apple Silicon (#396). Its loop still ran
tests/form_coverage_check.py, whose first check imports iced_x86 through
form_reference, so the loop stops with ModuleNotFoundError on that host.
Both lists also omit tests/bc7_tiles_check.py, which CI and AGENTS.md run.

Drop form_coverage_check from the macOS loop with a sentence saying it and
xmem_attribute_scan_check need iced-x86, and add bc7_tiles_check to both
loops. The Linux loop now lists every check in the CI Python job.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 22:09:49 +00:00
github manually merged commit 22deabc15d into gh-pr/662/base 2026-11-26 22:09:51 +00:00
Author
Owner

@⁠legacy-code-archaeologist on GitHub · 2026-11-22 18:37 UTC · original

Checked 22deabc, which merges cleanly with main, against the CI job it aims to match: the python-linux job in .github/workflows/windows.yml at this commit, which runs 20 check scripts.

  • Linux/Windows loop: it lists all 20 of the job's scripts, including the added tests/bc7_tiles_check.py. It also lists tests/gpu_report_format_check.py, which the job does not run.
  • macOS loop: it lists the same scripts except form_coverage_check.py and xmem_attribute_scan_check.py, which matches the new sentence about iced-x86.

I ran every script of the Linux/Windows loop at this head on Windows 11 26100.9168 with Python 3.12.10: 21 of 21 pass.

The only remaining difference from CI is tests/gpu_report_format_check.py, which already appears twice in this doc on main, so this PR did not introduce it. It passes locally. If the goal is an exact match with the CI job, it would either join the job or be marked as an extra local check.

AI-assisted (Claude Code).

**@⁠legacy-code-archaeologist** on GitHub · 2026-11-22 18:37 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/662#issuecomment-7083751160) Checked `22deabc`, which merges cleanly with `main`, against the CI job it aims to match: the `python-linux` job in `.github/workflows/windows.yml` at this commit, which runs 20 check scripts. - **Linux/Windows loop:** it lists all 20 of the job's scripts, including the added `tests/bc7_tiles_check.py`. It also lists `tests/gpu_report_format_check.py`, which the job does not run. - **macOS loop:** it lists the same scripts except `form_coverage_check.py` and `xmem_attribute_scan_check.py`, which matches the new sentence about `iced-x86`. I ran every script of the Linux/Windows loop at this head on Windows 11 26100.9168 with Python 3.12.10: 21 of 21 pass. The only remaining difference from CI is `tests/gpu_report_format_check.py`, which already appears twice in this doc on `main`, so this PR did not introduce it. It passes locally. If the goal is an exact match with the CI job, it would either join the job or be marked as an extra local check. AI-assisted (Claude Code).
This discussion has been locked. Commenting is limited to contributors.
No description provided.