diff --git a/lib/tempest b/lib/tempest index c298511bdc..7bc0bd5a21 100644 --- a/lib/tempest +++ b/lib/tempest @@ -693,6 +693,13 @@ function install_tempest { pip_install 'tox!=2.8.0' pushd $TEMPEST_DIR tox -r --notest -efull + local ver + ver=$(tox -evenv-tempest -- python --version) + echo Python version installed in Tempest venv: $ver + if python3_enabled; then + ver=$(tox -evenv-tempest -- python3 --version) + echo Python3 version installed in Tempest venv: $ver + fi # NOTE(mtreinish) Respect constraints in the tempest full venv, things that # are using a tox job other than full will not be respecting constraints but # running pip install -U on tempest requirements diff --git a/tools/fixup_stuff.sh b/tools/fixup_stuff.sh index 914793245e..f909b01793 100755 --- a/tools/fixup_stuff.sh +++ b/tools/fixup_stuff.sh @@ -234,10 +234,32 @@ function fixup_virtualenv { fi } +# Ubuntu Xenial with py3.6 +#------------------------- +# Install py3.6 on Xenial for Tempest +function fixup_tempest_on_xenial { + # All the stable branches are tested with Tempest and its plugins master + # branch. In ussuri cycle, openstack is dropping the py2.7 support which + # make Tempest & its plugin not able to run on py2.7 or sometime