ceph fails to build with Python 3.13: error: there are no arguments to ‘PyEval_CallMethod’ that depend on a template parameter, so a declaration of ‘PyEval_CallMethod’ must be available
Product:
[Fedora] Fedora
Reporter:
Karolina Surma <ksurma>
Component:
ceph
Assignee:
Kaleb KEITHLEY <kkeithle>
Status:
CLOSED
RAWHIDE
QA Contact:
Fedora Extras Quality Assurance <extras-qa>
Severity:
unspecified
Docs Contact:
Priority:
unspecified
Version:
rawhide
CC:
branto, go-sig, i, josef, kkeithle, ksurma, loic, mhroncok, steve
ceph fails to build with Python 3.13.03.
./boost/python/call_method.hpp:61:9: error: there are no arguments to ‘PyEval_CallMethod’ that depend on a template parameter, so a declaration of ‘PyEval_CallMethod’ must be available [-fpermissive]
61 | PyObject* const result =
| ^~~~~~~~~~~~~~~~~
Python 3.13 removed functions deprecated in Python 3.9 -- PyEval_CallMethod(): use PyObject_CallMethod() instead.
See https://docs.python.org/3.13/whatsnew/3.13.html#id11
For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.13/fedora-rawhide-x86_64/06924129-ceph/
For all our attempts to build ceph with Python 3.13, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/ceph/
Testing and mass rebuild of packages is happening in copr.
You can follow these instructions to test locally in mock if your package builds with Python 3.13:
https://copr.fedorainfracloud.org/coprs/g/python/python3.13/
Let us know here if you have any questions.
Python 3.13 is planned to be included in Fedora 41.
To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.13.
A build failure prevents us from testing all dependent packages (transitive [Build]Requires),
so if this package is required a lot, it's important for us to get it fixed soon.
We'd appreciate help from the people who know this package best,
but if you don't want to work on this now, let us know so we can try to work around it on our side.
fixes are staged for the Fedora 41 Python 3.13 side tag build, which should be ceph-18-2.3-5.fc41
I built it successfully in mock using python-3.13.0b2 copr packages.
ceph fails to build with Python 3.13.03. ./boost/python/call_method.hpp:61:9: error: there are no arguments to ‘PyEval_CallMethod’ that depend on a template parameter, so a declaration of ‘PyEval_CallMethod’ must be available [-fpermissive] 61 | PyObject* const result = | ^~~~~~~~~~~~~~~~~ Python 3.13 removed functions deprecated in Python 3.9 -- PyEval_CallMethod(): use PyObject_CallMethod() instead. See https://docs.python.org/3.13/whatsnew/3.13.html#id11 For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.13/fedora-rawhide-x86_64/06924129-ceph/ For all our attempts to build ceph with Python 3.13, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/ceph/ Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.13: https://copr.fedorainfracloud.org/coprs/g/python/python3.13/ Let us know here if you have any questions. Python 3.13 is planned to be included in Fedora 41. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.13. A build failure prevents us from testing all dependent packages (transitive [Build]Requires), so if this package is required a lot, it's important for us to get it fixed soon. We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.