Feat: Set python3 version from pyenv 31/70531/2 v0.79.4
authorAnil Belur <abelur@linuxfoundation.org>
Tue, 23 Aug 2022 04:02:18 +0000 (14:02 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Tue, 23 Aug 2022 09:33:32 +0000 (19:33 +1000)
commit1a7660851f6e1a32ff2485b75042c65fa8c6e611
tree4d2024bd6cad5e3fa7f1f7f42b56019f99910038
parent63bfc94b4ea8a304aa6d85d2cdc2aa9f8884d8b8
Feat: Set python3 version from pyenv

Use pyenv whih is the standard way to manage, set and use a python3
installation on the system.

The required version of python3 for all jobs should be > 3.8.x, to
avoid PyPI dependencies conflicts with outdated versions. However the
lf-activate-venv() uses the system default version python installed
through packages. This can cause warning and build failures that source
lf-env.sh.

Update lf-activate-venv to use pyenv versions of python3 installed
through the lfit.python-install galaxy ansible role.

Issue-ID: RELENG-4357
Change-Id: I821a86ac3b54f284e853316f0d782ad551249925
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
jenkins-init-scripts/lf-env.sh
releasenotes/notes/set-pyenv-python3-18154ae118e9e012.yaml [new file with mode: 0644]
shell/python-tools-install.sh