Fix: Use lf-activate-venv to install openstack dep 50/102250/4
authorAnil Belur <abelur@linuxfoundation.org>
Thu, 1 Sep 2022 04:19:30 +0000 (14:19 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Mon, 5 Sep 2022 08:12:32 +0000 (18:12 +1000)
commitf0a7323681e161e04e8c750090bfdce566775723
tree44706a9c7d71ae850bffb999d3dd55759970e158
parentd2ba08430c99771c0905f37e6b2a14917905f65b
Fix: Use lf-activate-venv to install openstack dep

Some of the platform/flavors does not include most reecnt python update
as system packages, so use pyenv (through lf-activate-venv) for
most recent version of python 3.x.

Use of python-tools-install.sh for the pre/post build is not recommended
approach for installing python dependencies since this installs the
dependencies with `--user` option (removed in I821a86ac3b54f284e8)
and ends up with pinning depenendencies with older packages.

Instead use lf-activate-venv to setup an venv and pull in the required
dependencies and save the path of the virtualenv in a temp file that
can be checked before attempting to create a venv.

Change-Id: I00bbf08921a3ddc6349e74e9cd9d6316b0876749
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
jjb/opendaylight-infra-copy-ssh-keys.sh
jjb/opendaylight-infra-deploy-maven-site.sh
jjb/opendaylight-infra-stack.sh
jjb/opendaylight-infra-update-image-list.sh