]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
pybind/cephfs: use legacy noexcept for cdefs for cython 3.Y.Z
authorPatrick Donnelly <pdonnell@ibm.com>
Tue, 4 Mar 2025 14:45:23 +0000 (09:45 -0500)
committerPatrick Donnelly <pdonnell@ibm.com>
Mon, 17 Mar 2025 19:43:23 +0000 (15:43 -0400)
commit2a2261e1bb866d5fa0f77840aa71ca5b6db956e1
treefa6e11ac66d18787cd325483c64038e2b3aab18c
parent17404ae74dab88788f052e9950332c25cb62fab4
pybind/cephfs: use legacy noexcept for cdefs for cython 3.Y.Z

For some newer versions of cython, it appears it requires explicitly specifying
noexcept but old versions of Cython 0.29.Z do not understand that attribute.

See: https://cython.readthedocs.io/en/latest/src/userguide/migrating_to_cy30.html#exception-values-and-noexcept

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit 90ac7409279d103f8811cf31f3a530d8fff7ba12)
src/pybind/cephfs/c_cephfs.pxd
src/pybind/cephfs/cephfs.pyx