docs: fix the macOS Python quick start #396

Manually merged
github merged 1 commit from gh-pr/396/head into gh-pr/396/base 2026-11-26 21:48:39 +00:00
Owner

@⁠BZ110 on GitHub · 2026-11-22 00:17 UTC · original
BZ110:docs/macos-python-quick-start → main · +2 −2 · 1 files · 1 commits · merged 2026-11-22 00:26 UTC

Change

Install pefile for the eight Python checks in the macOS quick start. Passing requirements-dev.txt as a constraint keeps the existing version pin.

On Apple Silicon with Python 3.12.15, the full requirements install tried to build iced-x86==1.21.0 from source and failed because Rust was absent.

Verification

Tested on macOS ARM64 with Python 3.12.15 at 09e9f50 in a fresh virtual environment.

./out/pe-env/bin/python -m pip install -c requirements-dev.txt pefile
./out/pe-env/bin/python -m pip check
for test_file in \
  tests/script_state_check.py \
  tests/bcpack_check.py \
  tests/resource_ranges_check.py \
  tests/dxcontainer_part_offsets_check.py \
  tests/layout_chunks_check.py \
  tests/intake/paths_check.py \
  tests/shader_probe_check.py \
  tests/gpu_report_format_check.py \
  tests/docs_links_check.py; do
  ./out/pe-env/bin/python -B "$test_file" || exit "$?"
done

The install selected pefile==2024.8.26. All eight quick-start checks and the documentation link check passed.

AI-assisted. The commands were run and the results checked locally.

**@⁠BZ110** on GitHub · 2026-11-22 00:17 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/396) `BZ110:docs/macos-python-quick-start` → `main` · +2 −2 · 1 files · 1 commits · merged 2026-11-22 00:26 UTC ## Change Install `pefile` for the eight Python checks in the macOS quick start. Passing `requirements-dev.txt` as a constraint keeps the existing version pin. On Apple Silicon with Python 3.12.15, the full requirements install tried to build `iced-x86==1.21.0` from source and failed because Rust was absent. ## Verification Tested on macOS ARM64 with Python 3.12.15 at `09e9f50` in a fresh virtual environment. ```sh ./out/pe-env/bin/python -m pip install -c requirements-dev.txt pefile ./out/pe-env/bin/python -m pip check for test_file in \ tests/script_state_check.py \ tests/bcpack_check.py \ tests/resource_ranges_check.py \ tests/dxcontainer_part_offsets_check.py \ tests/layout_chunks_check.py \ tests/intake/paths_check.py \ tests/shader_probe_check.py \ tests/gpu_report_format_check.py \ tests/docs_links_check.py; do ./out/pe-env/bin/python -B "$test_file" || exit "$?" done ``` The install selected `pefile==2024.8.26`. All eight quick-start checks and the documentation link check passed. AI-assisted. The commands were run and the results checked locally.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 21:48:37 +00:00
github manually merged commit 09e9f5094f into gh-pr/396/base 2026-11-26 21:48:39 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.