-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Do not depend on unversioned python binary #1496
Conversation
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
Is the CMake change nessesary given the rest of the diff? Originally posted by @LebedevRI in #1495 (comment) |
Well either the cmake changes or the shebang |
I think it's not right to have the shebang AND do that CMake dance. Anyways let's just merge as is i guess. |
(please resolve the CLA issue, though.) |
Well, the shebang still helps people running the scripts manually. Still looking through my companies policies about signing the CLA... |
Some linux distributions no longer provide `python` binary and require usage of `python3` instead. This changes the scripts here and uses cmake `find_package(Python3` when running python.
CLA still seems stuck, should have it unstuck? |
i checked manually and @MatzeB hasn't signed the Google CLA as far as i can tell. |
I am told CLA should work now. And when I go to Google Corporate CLA | Facebook, Inc. | Apr 29, 2016 12:42 PDT Google Corporate CLA Facebook, Inc. Apr 29, 2016 12:42 PDT Not sure why it's not working, does it still require the old [email protected] mails instead of [email protected]? |
Let's see if reopening PR helps. |
i just forced a rescan on my end |
This merge forced my CI/CD pipelines that use googlebenchmark to fail because our images don't have Python installed, even though googlebenchmark has never required Python before. |
Looks like you need to specify |
We want it on, and have had no issues with it in the past... |
Then i guess perhaps this change should be changed to use |
That would be great, this is currently blocking all of my company's pipelines so we can't release anything. If you could revert this change while coming up with an update it would be greatly appreciated. |
…1496)" As predicted, the cmake part of the change is contentious. google#1496 (comment) This partially reverts commit 229bc5a.
This reverts commit 229bc5a.
I would love to, but apparently i can not. |
…#1501) As predicted, the cmake part of the change is contentious. #1496 (comment) This partially reverts commit 229bc5a.
Thanks for the revert! |
Some linux distributions no longer provide
python
binary and require usage ofpython3
instead. This changes the scripts here and uses cmakefind_package(Python3
when running python.