Repository navigation
Keep the selected Python for Mac host generators - #729
Merged
Merged
Conversation
|
sorry if its a dumb question I'm not great with code n stuff but can I fix it on my own? If yes, how? In language for dummies so I accidentally don't break something. |
thehobbit85
force-pushed
the
codex/issue-711-host-python
branch
from
November 5, 2026 18:24
5488305 to
23d8ca2
Compare
5 of 6 tasks
Collaborator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix or feature
What and why
Fixes #711.
The reported build ran under the app's bundled Python 3.13, but the Mac host Makefile started
host_msl.pywith an older Python 3.6 found onPATH. That interpreter rejectedcapture_output, after extraction and shader compilation had already finished.The engine patch passes the pipeline's exact
sys.executableto both host Make invocations asPYTHON, including the dry run used to obtain the compiler command. The host Makefile declaresPYTHON ?= python3before its first parse-time use and quotes it for all four shader/profile generator calls. Direct Make builds retain their default, while explicit versioned interpreters and paths with spaces work. This does not changePATHor .NET SDK selection.Patch
0078hasUpstream-Status: pending. The upstream counterpart awaits maintainer submission.Checked
patches/seriesconflict with mainbef6d01a0673edcb4b4dd816890ec060add2629f. Preserved the original single commit and patch contents, with the patch moved to slot 0078.23d8ca2143d340b62b6ff2f58cddff5f2548ba30.host_mslMake target and pipeline command tests pass, 9 tests. Related NSP environment checks pass, 15 tests, work-folder checks pass, 6 tests, and documentation checks pass, 11 tests. These run under native arm64 Python 3.14.6 on an Apple silicon Mac.python3 tools/engine.py checkconfirms all 47 patches apply cleanly to upstream7249ee9f95ed728aff9a86395330d10d4c91fb5c, andengine.py syncreproduces the exported change. The patch contents are byte-for-byte unchanged from the original fix, now numbered0078after main's existing patches.DM_TOUCH_HINT,DM_TOUCH_LAYOUT,DM_TOUCH_SIZEandDM_TOUCH_STICKlack documented table rows. Re-running the scanner against the frozen main engine before this patch produces identical results. This PR does not duplicate the separate documentation fix in CI: report engine test failures and supply required test inputs #722.python3first onPATH, selects a versioned interpreter in a directory with spaces, and verifies the generated shader header and synthetic Metal compilation. The pipeline test verifies the exact interpreter argument in both its generation command and dry run. Existing direct-Make tests cover the default fallback.Screenshots
None, no visible change.
Scope
dm/,scripts/,docs/,ref/) is added directly to the repository. The engine change is exported aspatches/0078-keep-the-selected-python-when-generating-the-mac.patch, with complete metadata, and the queue check passes.Upstream-Status: pending. Its upstream counterpart awaits maintainer submission.