pin tq virt-env for py27 to train
use the last good release for py27 for upper-constraints for the tq virtual environment Change-Id: Ibda370c31497204ea9883ae1fa0d3558b260a948
This commit is contained in:
parent
5477f0fe74
commit
93aff4023a
|
@ -129,9 +129,11 @@ bootstrap () {
|
|||
fi
|
||||
|
||||
pushd $OOOQ_DIR
|
||||
# use stable/train as the latest known good python2 upper constraints
|
||||
# tq can use the last known good for train in virt environments and
|
||||
# execute against any openstack wth --release
|
||||
if [ "$(python_cmd)" == "python2" ]; then
|
||||
export TARGET_RELEASE=$(awk '/^release:/ { print $2}' config/release/$OPT_RELEASE.yml)
|
||||
export PIP_CONSTRAINT=${PIP_CONSTRAINT:-https://opendev.org/openstack/requirements/raw/branch/stable/${TARGET_RELEASE}/upper-constraints.txt}
|
||||
export PIP_CONSTRAINT=${PIP_CONSTRAINT:-https://opendev.org/openstack/requirements/raw/branch/stable/train/upper-constraints.txt}
|
||||
fi
|
||||
$(python_cmd) setup.py install egg_info --egg-base $OPT_WORKDIR
|
||||
if [ $OPT_CLEAN == 1 ]; then
|
||||
|
|
Loading…
Reference in New Issue