Skip to content
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

Allow to override Python binary for make #887

Merged

Conversation

danielmitterdorfer
Copy link
Member

With this commit we expose a new make variable PY_BIN which defaults
to python3 to keep the current behavior. However, this change allows
to experiment with other Python implementations like pypy by specifying
make venv-create PY_BIN=pypy3 (provided pypy has been installed
correctly on the system; adding support for this is intentionally out of
scope for this PR). While this does not mean we will start supporting
pypy, it allows us to experiment with it.

With this commit we expose a new make variable `PY_BIN` which defaults
to `python3` to keep the current behavior. However, this change allows
to experiment with other Python implementations like pypy by specifying
`make venv-create PY_BIN=pypy3` (provided pypy has been installed
correctly on the system; adding support for this is intentionally out of
scope for this PR). While this does not mean we will start supporting
pypy, it allows us to experiment with it.
@danielmitterdorfer danielmitterdorfer added enhancement Improves the status quo :misc Changes that don't affect users directly: linter fixes, test improvements, etc. labels Feb 5, 2020
@danielmitterdorfer danielmitterdorfer added this to the 1.4.1 milestone Feb 5, 2020
@danielmitterdorfer danielmitterdorfer self-assigned this Feb 5, 2020
Copy link
Contributor

@dliappis dliappis left a comment

Choose a reason for hiding this comment

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

LGTM

@danielmitterdorfer danielmitterdorfer merged commit bf39ffd into elastic:master Feb 6, 2020
@danielmitterdorfer danielmitterdorfer deleted the python-override branch February 6, 2020 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improves the status quo :misc Changes that don't affect users directly: linter fixes, test improvements, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants