Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@NattyNarwhal
Copy link
Contributor

Split into two commits - the shebang stuff might be controversial if CentOS 6 or whatever lacks Python 3.

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.
@kg
Copy link
Member

kg commented Dec 23, 2019

Please do the shebang changes in a separate PR, because while the $(PYTHON) stuff looks good I'm not comfortable with the shebang changes


distdir:
distclean:
distclean:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line ending change?

Copy link
Contributor Author

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.

@lambdageek
Copy link
Member

@monojenkins build pkg

@lambdageek
Copy link
Member

@monojenkins build OS X Extended

Copy link
Member

@lambdageek lambdageek left a 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.

@lewurm
Copy link
Contributor

lewurm commented Jan 2, 2020

@monojenkins build OS X Extended

@akoeplinger akoeplinger merged commit b3ce5bf into mono:master Jan 7, 2020
ManickaP pushed a commit to ManickaP/runtime that referenced this pull request Jan 20, 2020
akoeplinger pushed a commit to monojenkins/mono that referenced this pull request Apr 2, 2020
akoeplinger pushed a commit that referenced this pull request Apr 3, 2020
* 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants