zuul-jobs/roles/ensure-python
Ian Wienand 02b8b63d09 ensure-python: pull in venv package on Debuntu
When installing from packages on Debuntu, also bring in the
python<version>-venv package as a base dependency.

Change-Id: Ie3c03fea82bcec80a897f0905c15f35405a50396
2022-07-26 13:22:19 +10:00
..

Ensure specified python interpreter and development files are installed

There are three ways to install the python interpreter:

  1. Using distribution packages: This is the default (python_use_pyenv and python_use_stow are both false).
  2. Install using pyenv.
  3. 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