Cython fails to build with Python 3.13 in Fedora Rawhide (41). Multiple errors and test failures to be found in the Koji logs: https://kojipkgs.fedoraproject.org//work/tasks/595/119090595/build.log Let us know here if you have any questions. Python 3.13 is planned to be included in Fedora 41.
At least some of the failures are caused by docstring indentation: Expected: '\n This is a function docstring.\n ' Got: '\nThis is a function docstring.\n' (But not all failures are like this.)
Update to 3.0.11 fixes this.
FEDORA-2024-10affae18a (Cython-3.0.11-1.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2024-10affae18a
FEDORA-2024-10affae18a (Cython-3.0.11-1.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report.