From 9de0b7a59f150f5ef7bc9f85870edbafeedcbf10 Mon Sep 17 00:00:00 2001 From: Jonathan Rosser Date: Mon, 20 Jan 2020 18:50:26 +0200 Subject: [PATCH] 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 --- tasks/tempest_install_source.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasks/tempest_install_source.yml b/tasks/tempest_install_source.yml index f47bbb7a..e122da65 100644 --- a/tasks/tempest_install_source.yml +++ b/tasks/tempest_install_source.yml @@ -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