Do not source venv for downstream builds

openstacksdk and openstackclient violate upper-constraints for Wallaby.
venv install versions are violating upper-constraints. This patch forces downstream image builds to rpms and source packages.

Related-bug: BZ2161262
Change-Id: I207403264bc59db286d4e501c3a8042f9b093991
This commit is contained in:
Soniya Vyas 2023-01-17 19:28:26 +05:30 committed by Soniya Murlidhar Vyas
parent 896e999c29
commit 3bde69edbc

View File

@ -1,9 +1,11 @@
set -ex
# Activate virtualenv only if exists
{% if osp_release is not defined %}
if [ -d "{{ workspace }}/venv" ]; then
source {{ workspace }}/venv/bin/activate
fi
{% endif %}
# When python-tripleoclient is installed via packages
# elements_path are automatically setted.