mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #1605] [CLOSED] setup: skip a cmake/ninja on PATH that does not run, for the one next to this Python #3560
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#3560
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/1605
Author: @Destrayon
Created: 10/8/2026
Status: ❌ Closed
Base:
main← Head:pr/setup-broken-path-tool📝 Commits (1)
7afa9ffsetup: skip a cmake/ninja on PATH that does not run, for the one next to this Python📊 Changes
1 file changed (+7 additions, -2 deletions)
View changed files
📝
setup.py(+7 -2)📄 Description
Title
Issue: none filed.
Summary
A cmake or ninja on
PATHthat does not run no longer fails every build; setup falls back to the one it installednext to its Python.
What changed
setup.pyfind_tooltook the firstcmake/ninjaonPATHwithout running it. A pip-installedninja.exewhosePython had been removed was still on
PATH; it is a launcher that fails at once, so every build failed, althoughsetup had just installed a working ninja in
.venv.find_toolnow runs thePATHtool with--versionand, whenthat fails, falls through to the one next to this Python.
Extra Notes
Tested: on Windows with the broken launcher on
PATH, the build used.venv's ninja and finished;tools/test_setup_*.pyall pass.🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.