]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
deb,rpm: python-cephfs should depend on python-rados 27950/head
authorKefu Chai <kchai@redhat.com>
Sat, 14 Jul 2018 03:13:27 +0000 (11:13 +0800)
committerNathan Cutler <ncutler@suse.com>
Fri, 3 May 2019 12:40:21 +0000 (14:40 +0200)
commit7ffeae3933273e0a7cfd1edf0dbfdee20c25568c
treee6b7c3dbda6f096dd43eedb2a10f8817b5256c97
parent340d58ef6d164a2c10f4feb4763cfb9602d41133
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>
(cherry picked from commit b35823cbbc9e5bbd9af4c942016fa9cd8f13aeda)
ceph.spec.in
debian/control