2 Commits

Author SHA1 Message Date
298313282a test_boot_ps1_python: test the 3.12 floor and that a hanging candidate leaves no process (BOOT-PS1-PYTHON-ALIAS)
The older-Python stand-in only exited 1, so changing (3, 12) in Test-Python left every test green. A stand-in now
runs Test-Python's own check with sys.version_info set: 3.11.9 is passed over for py -3 and 3.12.0 is taken. The
hanging stand-in sleeps in a Python child with a unique tag on its command line, and the test asserts that no
process holding the tag is left once Resolve-Python returns.

Test-Python's comment now gives the requirement it follows: the repository needs 3.12+ (README.md).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 15:46:47 -03:00
48defb9c08 boot.ps1: take a Python that starts and is 3.12+, not the Microsoft Store alias (BOOT-PS1-PYTHON-ALIAS)
Resolve-Python took `python` as soon as Get-Command found it. On Windows that also finds the Store's
app execution alias in WindowsApps, which only says how to install Python and exits 9009, so with
Python installed through `py` the boot's summary held that message and `py -3` was never tried.

Test-Python now starts each candidate (python, then py -3) and takes the first that exits 0 on a
3.12+ check, within 15 s; one that hangs is ended with its children and passed over. -Python is
used as given. tests/test_boot_ps1_python.py runs both functions against stand-in commands.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 17:24:49 -03:00