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)
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'