-
Notifications
You must be signed in to change notification settings - Fork 4k
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
python stub_template.txt shouldn't assume /usr/bin/python always exists #544
Comments
We should probably access python through an external dependency. |
This also implies that no matter what version of Python you specify in the |
There are also the |
Can we for the time being perhaps at least change the behavior, so if you have:
or
that it then uses |
re-assigning to the Python rules category. fyi @brandjon |
I believe this issue is referring to the shebang line at the top of the stub script. At the time this bug was filed, the shebang was There's still the problem that the interpreter running this wrapper is not necessarily the same one as |
See #7947 for some discussion about using an arbitrary system interpreter for the stub logic versus using the exact interpreter specified by the target. The gist of it is:
I'm going to close this bug. The resolution is that we currently require |
Can it simply use %python_binary%?
For example, in a docker container we run, only python3 is available.
The text was updated successfully, but these errors were encountered: