zuul-jobs/roles/ensure-python
2022-03-03 17:37:39 +00:00
..
defaults Add support to use stow for ensure-python 2020-09-24 07:39:52 +00:00
tasks [ensure-python] Improve check for CentOS/RHEL 9 packages 2022-03-02 13:16:58 +00:00
vars Add patch to list of build dependencies 2022-02-17 10:16:25 +01:00
README.rst Add support for RPM packages 2022-01-18 16:00:22 +01: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

Optional version of python interpreter to install, such as 3.7.