python-greenlet fails to build with Python 3.11.0a3. src/greenlet/greenlet.c:528:44: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘recursion_depth’; did you mean ‘recursion_limit’? 528 | current->recursion_depth = tstate->recursion_depth; | ^~~~~~~~~~~~~~~ | recursion_limit src/greenlet/greenlet.c:529:38: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘frame’; did you mean ‘cframe’? 529 | current->top_frame = tstate->frame; | ^~~~~ | cframe src/greenlet/greenlet.c:577:17: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘recursion_depth’; did you mean ‘recursion_limit’? 577 | tstate->recursion_depth = target->recursion_depth; | ^~~~~~~~~~~~~~~ | recursion_limit src/greenlet/greenlet.c:578:17: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘frame’; did you mean ‘cframe’? 578 | tstate->frame = target->top_frame; | ^~~~~ | cframe src/greenlet/greenlet.c: In function ‘g_initialstub’: src/greenlet/greenlet.c:878:50: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘recursion_depth’; did you mean ‘recursion_limit’? 878 | self->recursion_depth = PyThreadState_GET()->recursion_depth; | ^~~~~~~~~~~~~~~ | recursion_limit == PyThreadState changes == * frame: removed, use PyThreadState_GetFrame(), warning: it returns a strong reference (Py_DECREF is needed) * recursion_depth: removed, use (tstate->recursion_limit - tstate->recursion_remaining) instead * stackcheck_counter: removed * tracing: changed, use PyThreadState_EnterTracing() and PyThreadState_LeaveTracing(), added by bpo-43760 https://bugs.python.org/issue46355 https://docs.python.org/3.11/whatsnew/3.11.html For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.11/fedora-rawhide-x86_64/03159552-python-greenlet/ For all our attempts to build python-greenlet with Python 3.11, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.11/package/python-greenlet/ 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.11: https://copr.fedorainfracloud.org/coprs/g/python/python3.11/ Let us know here if you have any questions. Python 3.11 is planned to be included in Fedora 37. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.11. 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.
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle. Changing version to 36.
https://src.fedoraproject.org/rpms/python-greenlet/pull-request/3
FEDORA-2022-75aa907ff6 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-75aa907ff6
FEDORA-2022-75aa907ff6 has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report.