Browse code

Apply contraints to tempest plugins

This commit applies the constraints for the tempest plugin installation
so they won't go over the upper reqs.

Closes-Bug: 1763436
Change-Id: I5cf91157bbdae79dec01d5b3db32efea21f1b2b7

Daniel Mellado authored on 2018/04/13 00:41:59
Showing 1 changed files
... ...
@@ -646,7 +646,7 @@ function install_tempest {
646 646
 function install_tempest_plugins {
647 647
     pushd $TEMPEST_DIR
648 648
     if [[ $TEMPEST_PLUGINS != 0 ]] ; then
649
-        tox -evenv-tempest -- pip install $TEMPEST_PLUGINS
649
+        tox -evenv-tempest -- pip install -c $REQUIREMENTS_DIR/upper-constraints.txt $TEMPEST_PLUGINS
650 650
         echo "Checking installed Tempest plugins:"
651 651
         tox -evenv-tempest -- tempest list-plugins
652 652
     fi