]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks/ceph_deploy: install python3.6 instead of python3.4 for py3 tests
authorKefu Chai <kchai@redhat.com>
Thu, 11 Apr 2019 02:02:32 +0000 (10:02 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 11 Apr 2019 02:49:19 +0000 (10:49 +0800)
EPEL7 has switched over to python3.6 as the main python3. and we started
packaging python bindings for python3.6 since
https://github.com/ceph/ceph-build/pull/1283

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 42167b87909c20c9bb4d32bac02b1e01ec94af13)

qa/tasks/ceph_deploy.py

index e51bc89ad35eb1e73cc40043fd07d23da15f856c..56868f16fa0a971d8331093eedb0401867a7eb9d 100644 (file)
@@ -46,7 +46,7 @@ def download_ceph_deploy(ctx, config):
         system_type = teuthology.get_system_type(ceph_admin)
 
         if system_type == 'rpm':
-            package = 'python34' if py_ver == '3' else 'python'
+            package = 'python36' if py_ver == '3' else 'python'
             ctx.cluster.run(args=[
                 'sudo', 'yum', '-y', 'install',
                 package, 'python-virtualenv'