python-asyncpg fails to build with Python 3.13.0a6. asyncpg/protocol/record/recordobj.c: In function ‘record_dealloc’: asyncpg/protocol/record/recordobj.c:101:5: error: implicit declaration of function ‘Py_TRASHCAN_SAFE_BEGIN’; did you mean ‘Py_TRASHCAN_BEGIN’? [-Wimplicit-function-declaration] 101 | Py_TRASHCAN_SAFE_BEGIN(o) | ^~~~~~~~~~~~~~~~~~~~~~ | Py_TRASHCAN_BEGIN asyncpg/protocol/record/recordobj.c:101:30: error: expected ‘;’ before ‘if’ 101 | Py_TRASHCAN_SAFE_BEGIN(o) | ^ | ; 102 | if (len > 0) { | ~~ asyncpg/protocol/record/recordobj.c:120:5: error: implicit declaration of function ‘Py_TRASHCAN_SAFE_END’; did you mean ‘Py_TRASHCAN_END’? [-Wimplicit-function-declaration] 120 | Py_TRASHCAN_SAFE_END(o) | ^~~~~~~~~~~~~~~~~~~~ | Py_TRASHCAN_END asyncpg/protocol/record/recordobj.c:120:28: error: expected ‘;’ before ‘}’ token 120 | Py_TRASHCAN_SAFE_END(o) | ^ | ; 121 | } | ~ According to https://docs.python.org/3.13/whatsnew/3.13.html: Remove the old trashcan macros Py_TRASHCAN_SAFE_BEGIN and Py_TRASHCAN_SAFE_END. They should be replaced by the new macros Py_TRASHCAN_BEGIN and Py_TRASHCAN_END. The new macros were added in Python 3.8 and the old macros were deprecated in Python 3.11. (Contributed by Irit Katriel in gh-105111.) https://docs.python.org/3.13/whatsnew/3.13.html For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.13/fedora-rawhide-x86_64/07393296-python-asyncpg/ For all our attempts to build python-asyncpg with Python 3.13, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/python-asyncpg/ 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.
FEDORA-2024-50c9999ab2 (python-asyncpg-0.29.0-10.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2024-50c9999ab2
FEDORA-2024-50c9999ab2 (python-asyncpg-0.29.0-10.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-EPEL-2024-af70e1f691 (python-asyncpg-0.29.0-13.el10_0) has been submitted as an update to Fedora EPEL 10.0. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-af70e1f691
FEDORA-EPEL-2024-af70e1f691 (python-asyncpg-0.29.0-13.el10_0) has been pushed to the Fedora EPEL 10.0 stable repository. If problem still persists, please make note of it in this bug report.
This comment was flagged a spam, view the edit history to see the original text if required.
This comment was flagged as spam, view the edit history to see the original text if required.