Use built-in venv module

... to get rid of virtualenv. The virtualenv package is not availble
in CentOS and currently installed via pip.

Change-Id: Ia258db30a0b1a426b66f402b4cc62ea6664de05a
(cherry picked from commit 9c4016f9282c77040fdd571157f56a6df840c5eb)
This commit is contained in:
Takashi Kajinami 2024-11-03 19:38:41 +09:00
parent 095f884c81
commit b04e9c25e3

@ -354,7 +354,7 @@ print_header 'Running Tempest'
cd /tmp/openstack/tempest
if [ "${TEMPEST_FROM_SOURCE,,}" = true ]; then
python3 -m virtualenv run_tempest
python3 -m venv run_tempest
/tmp/openstack/tempest/run_tempest/bin/pip3 install -c https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt -U -r requirements.txt
/tmp/openstack/tempest/run_tempest/bin/python3 setup.py install