From 2dac5c5012cffb5f41d7e7457569c6bfdc53ec26 Mon Sep 17 00:00:00 2001 From: Casey Bodley Date: Tue, 10 Sep 2019 15:49:45 -0400 Subject: [PATCH] qa/keystone: add requirements.txt with python-openstackclient works around a VersionConflict error by including the requirements on jsonschema when installing python-openstackclient also pin the version of python-openstackclient, because newer clients don't seem to recognize --os-url Signed-off-by: Casey Bodley --- qa/tasks/keystone.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/qa/tasks/keystone.py b/qa/tasks/keystone.py index 2ddb98878d7..c94af50d8e1 100644 --- a/qa/tasks/keystone.py +++ b/qa/tasks/keystone.py @@ -142,7 +142,9 @@ def setup_venv(ctx, config): ]) run_in_keystone_venv(ctx, client, - [ 'pip', 'install', 'python-openstackclient' ]) + [ 'pip', 'install', 'python-openstackclient<=3.19.0', + '-r', 'requirements.txt' + ]) try: yield finally: -- 2.47.3