zuul-jobs/roles/ensure-python
Moritz Haase d8af2889f8 roles/ensure-python: Fix 'python_use_stow' option
Fix a syntax error in stow.yaml that broke the 'python_use_stow' option. While
at it, make sure that a proper error message is shown if no stow environments
are installed on the system.

Change-Id: Ifa696daa367997fb705ba22527137f4f051ca558
2023-07-11 06:17:29 +00:00
..
defaults Add support to use stow for ensure-python 2020-09-24 07:39:52 +00:00
tasks roles/ensure-python: Fix 'python_use_stow' option 2023-07-11 06:17:29 +00: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

README.rst

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