Skip to content

Commit

Permalink
Honor only specified Python versions in prereq (#912)
Browse files Browse the repository at this point in the history
With this commit we set the Python versions that we use for testing only
locally for the current project. We also honor only the specified Python
versions ignoring any preinstalled version of Python that is already
installed on the system.
  • Loading branch information
danielmitterdorfer authored Feb 20, 2020
1 parent 5b40bd5 commit 49602e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ prereq:
pyenv install --skip-existing $(PY36)
pyenv install --skip-existing $(PY37)
pyenv install --skip-existing $(PY38)
pyenv global system $(PY35) $(PY36) $(PY37) $(PY38)
pyenv local $(PY35) $(PY36) $(PY37) $(PY38)
@# Ensure all Python versions are registered for this project
@ jq -r '.python_versions | [.[] | tostring] | join("\n")' .ci/variables.json > .python-version
-@ printf $(PYENV_PREREQ_HELP)
Expand Down

0 comments on commit 49602e8

Please sign in to comment.