build: warn when fixture Python is missing #148
No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!148
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/148/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?
@Neygen8 on GitHub · 2026-11-21 17:16 UTC · original
Neygen8:codex/warn-missing-fixture-python→main· +7 −1 · 2 files · 2 commits · merged 2026-11-21 17:24 UTCChange
CMake now warns at configure time when the path in
INTAKE_PYTHONis missing. The warning names the disabled Python-driven tests, shows the configured path and points to the setup instructions. The first-build guide explains the warning.Refs #132 (configure check).
Verification
Tested commit
4607f00on macOS with CMake 4.4.2. Usingcmake -DINTAKE_PYTHON:FILEPATH="<path>" -P out/configure-warning-check/check.cmakeon the extracted fixture guard, the base commit printed no warning for a missing path. The patch printed the warning and exited with code 0 for the missing path. With an existing interpreter, it exited with code 0 without the warning. The script returned before the Windows-only build commands.The six platform-independent checks passed with Python 3.11. The import-path check used
pefile==2024.8.26.Evidence and follow-up
To check the warning in a Windows developer shell, run the first command with a path that does not exist. It should configure successfully and print the warning. The second command should list no CPU tests. Run the Python setup and configure with the valid interpreter to register those tests.
The full build ran in GitHub Actions. The Windows build and tests, standalone GPU check smoke test, Linux Python checks, and gfx1013 fixture checks passed. Workflow run
Checklist
AI-assisted.