The type of the python_version variable matters when we interpret it after yaml deserialization. If it is interpreted as a float then 3.1 == 3.10 and those python versions are very different. Instead make note that it should be a string and then update all of the tox jobs to set this variable as a string. Change-Id: I55bbc70526a13e6bd4c3c32da8590ad2af76fe7c
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_pyenvandpython_use_stoware 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