8000 Fix python2 interpreter by keith · Pull Request #20 · google/xctestrunner · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix python2 interpreter #20

8000 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

Merged
merged 1 commit into from
Jun 23, 2020
Merged

Conversation

keith
Copy link
Contributor
@keith keith commented Jun 22, 2020

By default when specifying PY2 as the python_version the shebang in
the produced parfile is /usr/bin/env python2 which doesn't exist on
macOS (unless users have created it).

This fix forces the shebang to be /usr/bin/python2.7 which exists on
all recent macOS versions. Once this project is converted to python3,
we should change this to /usr/bin/python3 instead.

Fixes #18

By default when specifying PY2 as the `python_version` the shebang in
the produced parfile is `/usr/bin/env python2` which doesn't exist on
macOS (unless users have created it).

This fix forces the shebang to be `/usr/bin/python2.7` which exists on
all recent macOS versions. Once this project is converted to python3,
we should change this to `/usr/bin/python3` instead.
@keith
Copy link
Contributor Author
keith commented Jun 22, 2020

cc @albertdai

@albertdai albertdai merged commit f52307f into google:master Jun 23, 2020
@keith keith deleted the ks/custom-interpreter branch June 23, 2020 18:57
@keith
Copy link
Contributor Author
keith commented Jun 23, 2020

Thanks, mind shipping a new release?

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.

0.2.12 broken on macOS 10.14
2 participants
0