]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
deb,rpm: python-cephfs should depend on python-rados
authorKefu Chai <kchai@redhat.com>
Sat, 14 Jul 2018 03:13:27 +0000 (11:13 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 25 Jul 2018 07:22:16 +0000 (15:22 +0800)
commitb35823cbbc9e5bbd9af4c942016fa9cd8f13aeda
tree1d44ee28402ef6b28e37627256bddd6e1163e865
parentb8f079a653c4d86357b759e54c3a26b7f691e3b5
deb,rpm: python-cephfs should depend on python-rados

in `cephfs.pyx` we `cimport rados`, and in
LibCephFs.create_with_rados(), Rados.cluster is accesssed without GIL,
so we need to import the rados module for cephfs to ensure that it's
safe to access this attribute without GIL.

dh_python2 and dh_python3 cannot fill ${python:Depends} and
${python3:Depends} with this dependency, so we need to set it
explicitly.

Fixes: http://tracker.ceph.com/issues/24918
Signed-off-by: Kefu Chai <kchai@redhat.com>
ceph.spec.in
debian/control