docs: fix the macOS Python quick start #390

Merged
BZ110 merged 1 commit from upstream-pr/396 into main 2026-11-22 00:26:04 +00:00
BZ110 commented 2026-11-22 00:17:08 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by BZ110 on 2026-11-22T00:17:08Z.


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.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6536235889 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/396). Originally posted by [BZ110](https://github.com/BZ110) on 2026-11-22T00:17:08Z. --- ## 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.
upstream-sync closed this pull request 2026-11-24 06:42:49 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
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.

Reference
R0Y00/Xbox2Windows!390
No description provided.