From 34cf142bfc1fbb0035e85ceca3df3869ff4a9f1d Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Sun, 24 May 2020 22:51:05 +0800 Subject: [PATCH] qa/tasks/keystone.py: install python3 install python3 for keystone's tox based test otherwise python34 would be installed, and keystone's tox based test does not support python34. this change is not cherry-picked from master, as our python bindings are now built with python3.6, so python3.6 is always used. it's supported by keystone's test. Signed-off-by: Kefu Chai --- qa/tasks/keystone.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qa/tasks/keystone.py b/qa/tasks/keystone.py index 76ac347dfd462..4a22a885e226e 100644 --- a/qa/tasks/keystone.py +++ b/qa/tasks/keystone.py @@ -107,6 +107,9 @@ def install_packages(ctx, config): packages[client] = toxvenv_sh(ctx, remote, ['bindep', '--brief', '--file', '{}/bindep.txt'.format(get_keystone_dir(ctx))], check_status=False).splitlines() # returns 1 on success? + # install python3 as bindep installs python34 which is not supported + # by keystone or tempest's tox based tests. + packages[client].append('python3') for dep in packages[client]: install_package(dep, remote) try: -- 2.39.5