-
Notifications
You must be signed in to change notification settings - Fork 3.8k
More "get rid of just-python invocation" #18284
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Not throughly tested, but seems to build. Someone with more knowledge of SDKs and such should check if they function. I believe stuff like Bockbuild may also need updates for this.
|
Please do the shebang changes in a separate PR, because while the $(PYTHON) stuff looks good I'm not comfortable with the shebang changes |
f8e55c1 to
56e3597
Compare
|
|
||
| distdir: | ||
| distclean: | ||
| distclean: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line ending change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My editor probably did this, sorry.
|
@monojenkins build pkg |
|
@monojenkins build OS X Extended |
lambdageek
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is ok, actually. Just want to block the merge until the extra CI lanes are done. Dismiss me when they're green.
|
@monojenkins build OS X Extended |
Commit migrated from mono/mono@b3ce5bf
(cherry picked from commit b3ce5bf)
* Force Python 3.x from env in shebang lines * Fix byte/string incompatiblity in Python 3 * Fix locating Python interpreter when it isn't "python" (#18197) Fix locating Python interpreter when it isn't "python" The "python" interpreter is specified by PEP-394. In it, an OS can decide not to ship a "python" executable, and instead only ship python2/3, providing some ambiguity for scripts that are version-neutral, like the one Mono uses. This uses an automake macro to locate a suitable Python, and changes the makefile to use the located Python, whatever it may be. (cherry picked from commit 84221f0) * More disambiguation of Python in makefiles (#18284) (cherry picked from commit b3ce5bf) * [build] Check for Python 3 in configure.ac (#18625) I fear this causing packaging problems, but as-is we require Python 3 for most of our Python files but don't actually check for that in configure. We should be consistent about this. Some projects (notably wasm) also use the Python version detected here, so bumping this will also bump the version used in those cases (a good thing, since there are some known bugs when using the scripts with Python 2). (cherry picked from commit 0f47ea5) Co-authored-by: Calvin Buckley <[email protected]> Co-authored-by: Ryan Lucia <[email protected]>
Split into two commits - the shebang stuff might be controversial if CentOS 6 or whatever lacks Python 3.