
This commit adds the patch package to the list of python build dependencies for pyenv. This is not always necessary, but some python versions (for example 3.7.12) require a patch to be applied before installing and the process fails if the patch package is not installed. Change-Id: I605fc1c9255e98692a6a901cfc509b7fdb873ae1
Ensure specified python interpreter and development files are installed
There are three ways to install the python interpreter:
- Using distribution packages: This is the default
(
python_use_pyenv
andpython_use_stow
are bothfalse
). - Install using
pyenv
. - Install using
stow
.
Note
You cannot use both pyenv
and stow
method
for the same job. That means that python_use_pyenv
and
python_use_stow
cannot be set both to True
at
the same time.
Role Variables
Optional version of python interpreter to install, such as
3.7
.