Fix Python Binary Command Being Truncated to the First Element - #16045
Open
Alvaro-Kothe wants to merge 1 commit into
Open
Fix Python Binary Command Being Truncated to the First Element#16045Alvaro-Kothe wants to merge 1 commit into
Alvaro-Kothe wants to merge 1 commit into
Conversation
Alvaro-Kothe
marked this pull request as draft
July 30, 2026 16:00
Author
|
I will leave this into draft mode while I fix the CI errors. |
Improves behavior to allow specifying a command sequence for python binary in native files.
Alvaro-Kothe
force-pushed
the
fix/python-introspect
branch
from
August 1, 2026 02:49
12ec87e to
3ce19cf
Compare
Alvaro-Kothe
marked this pull request as ready for review
August 1, 2026 03:04
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.
This patch basically adapts
_find_installation_implto handle a list for thename_or_pathargument.On master using
/usr/bin/env,meson setuppasses when providing a wrong command, e.g.meson setupprintsProgram python found: YES (/usr/bin/env).With this patch it fails with
The other case that it failed on master was running python through qemu
cross.iniwhich fails with
while with this patch it passes and creates the correct suffix for the python target
Closes #15985