]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
pybind: set language_level for cythonize explicitly
authorKefu Chai <kchai@redhat.com>
Thu, 21 Feb 2019 14:54:30 +0000 (22:54 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 5 May 2021 06:32:24 +0000 (14:32 +0800)
commitd91283e011834526f311f30287e754082b81381f
treefebaa845552dc4433aa224e8b7e5495b83900a91
parent34e58f5d5d3db309139d49df8b9af53df56ee442
pybind: set language_level for cythonize explicitly

Compiling rbd.pyx because it changed.
[1/1] Cythonizing rbd.pyx
/usr/lib/python2.7/dist-packages/Cython/Compiler/Main.py:367:
FutureWarning: Cython directive 'language_level' not set, using 2 for
now (Py2). This will change in a later re
lease! File: /var/ssd/ceph/src/pybind/rbd/rbd.pyx
  tree = Parsing.p_module(s, pxd, full_module_name)

this warning is raised by cython 0.29.2

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit fb760dd7115d46547794d855b413ab0c3139a37e)
src/pybind/cephfs/setup.py
src/pybind/rados/setup.py
src/pybind/rbd/setup.py
src/pybind/rgw/setup.py