Use contraints for tempest plugins

This patch unifies the master branch with the changes which have
been necessary to unbreak the stable branches in light of py2 support
being removed from tempest and its plugins.

Depends-On: https://review.opendev.org/704317
Change-Id: I1d447933af5b668c17576a0ed985683a28fa153a
This commit is contained in:
Jonathan Rosser 2020-01-20 18:50:26 +02:00
parent 0e17aafba9
commit 9de0b7a59f

View File

@ -53,6 +53,7 @@
virtualenv_site_packages: "{{ tempest_plugin_install_source | ternary(omit, 'no') }}"
extra_args: >-
{{ tempest_pip_install_args }}
--constraint {{ tempest_upper_constraints_url }}
--isolated
with_items: "{{ tempest_plugins }}"
when: item.repo is defined
@ -70,6 +71,7 @@
virtualenv_site_packages: "{{ tempest_plugin_install_source | ternary(omit, 'no') }}"
extra_args: >-
{{ tempest_pip_install_args }}
--constraint {{ tempest_upper_constraints_url }}
--isolated
with_items: "{{ tempest_plugins }}"
when: item.package is defined