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
..
defaults Add support to use stow for ensure-python 2020-09-24 07:39:52 +00:00
tasks ensure-python: pull in venv package on Debuntu 2022-07-26 13:22:19 +10:00
vars Add patch to list of build dependencies 2022-02-17 10:16:25 +01:00
README.rst Make note of python_version being a string value 2022-05-16 09:16:35 -07: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