Bug 2177838 - Cython fails to build with Python 3.12: PyThreadState {aka struct _ts} has no member named curexc_traceback
Summary: Cython fails to build with Python 3.12: PyThreadState {aka struct _ts} has no...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Cython
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
Assignee: Miro Hrončok
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2177786 2177790 2177796 2177801 2177803 2177804 2177805 2177807 2177808 2177810 2177811 2177812 2177813 2177814 2177816 2177818 2177819 2177820 2177822 2177823 2177824 2177825 2177826 2177827 2177828 2177829 (view as bug list)
Depends On: 1823181
Blocks: PYTHON3.12 2154877 2177786 2177790 2177796 2177800 2177801 2177803 2177804 2177805 2177807 2177808 2177809 2177810 2177811 2177812 2177813 2177814 2177815 2177816 2177817 2177818 2177819 2177820 2177822 2177823 2177824 2177825 2177826 2177827 2177828 2177829
TreeView+ depends on / blocked
 
Reported: 2023-03-13 16:54 UTC by Tomáš Hrnčiar
Modified: 2023-04-25 12:44 UTC (History)
8 users (show)

Fixed In Version: Cython-0.29.34-1.fc39
Clone Of:
Environment:
Last Closed: 2023-04-08 23:05:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github cython cython issues 5286 0 None open [BUG] cython does not build with cpython main branch. 2023-03-13 17:33:06 UTC

Description Tomáš Hrnčiar 2023-03-13 16:54:47 UTC
Cython fails to build with Python 3.12.0a6.

/builddir/build/BUILD/cython-0.29.33/Cython/Plex/Scanners.c: In function ‘__Pyx_Raise’:
/builddir/build/BUILD/cython-0.29.33/Cython/Plex/Scanners.c:8912:34: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_traceback’
 8912 |         PyObject* tmp_tb = tstate->curexc_traceback;
      |                                  ^~
/builddir/build/BUILD/cython-0.29.33/Cython/Plex/Scanners.c:8915:19: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_traceback’
 8915 |             tstate->curexc_traceback = tb;
      |                   ^~
error: command '/usr/bin/gcc' failed with exit code 1

https://github.com/python/cpython/pull/101607
https://docs.python.org/3.12/whatsnew/3.12.html

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.12/fedora-rawhide-x86_64/05632047-Cython/

For all our attempts to build Cython with Python 3.12, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.12/package/Cython/

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.12:
https://copr.fedorainfracloud.org/coprs/g/python/python3.12/

Let us know here if you have any questions.

Python 3.12 is planned to be included in Fedora 39. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.12.
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.

Comment 2 Fedora Update System 2023-04-08 23:04:14 UTC
FEDORA-2023-d14b68654f has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-d14b68654f

Comment 3 Fedora Update System 2023-04-08 23:05:59 UTC
FEDORA-2023-d14b68654f has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 4 Miro Hrončok 2023-04-25 12:38:36 UTC
*** Bug 2177827 has been marked as a duplicate of this bug. ***

Comment 5 Miro Hrončok 2023-04-25 12:38:39 UTC
*** Bug 2177828 has been marked as a duplicate of this bug. ***

Comment 6 Miro Hrončok 2023-04-25 12:43:55 UTC
*** Bug 2177790 has been marked as a duplicate of this bug. ***

Comment 7 Miro Hrončok 2023-04-25 12:43:56 UTC
*** Bug 2177796 has been marked as a duplicate of this bug. ***

Comment 8 Miro Hrončok 2023-04-25 12:43:58 UTC
*** Bug 2177804 has been marked as a duplicate of this bug. ***

Comment 9 Miro Hrončok 2023-04-25 12:44:00 UTC
*** Bug 2177808 has been marked as a duplicate of this bug. ***

Comment 10 Miro Hrončok 2023-04-25 12:44:02 UTC
*** Bug 2177811 has been marked as a duplicate of this bug. ***

Comment 11 Miro Hrončok 2023-04-25 12:44:03 UTC
*** Bug 2177814 has been marked as a duplicate of this bug. ***

Comment 12 Miro Hrončok 2023-04-25 12:44:04 UTC
*** Bug 2177818 has been marked as a duplicate of this bug. ***

Comment 13 Miro Hrončok 2023-04-25 12:44:05 UTC
*** Bug 2177819 has been marked as a duplicate of this bug. ***

Comment 14 Miro Hrončok 2023-04-25 12:44:06 UTC
*** Bug 2177812 has been marked as a duplicate of this bug. ***

Comment 15 Miro Hrončok 2023-04-25 12:44:08 UTC
*** Bug 2177824 has been marked as a duplicate of this bug. ***

Comment 16 Miro Hrončok 2023-04-25 12:44:08 UTC
*** Bug 2177825 has been marked as a duplicate of this bug. ***

Comment 17 Miro Hrončok 2023-04-25 12:44:09 UTC
*** Bug 2177829 has been marked as a duplicate of this bug. ***

Comment 18 Miro Hrončok 2023-04-25 12:44:10 UTC
*** Bug 2177822 has been marked as a duplicate of this bug. ***

Comment 19 Miro Hrončok 2023-04-25 12:44:22 UTC
*** Bug 2177801 has been marked as a duplicate of this bug. ***

Comment 20 Miro Hrončok 2023-04-25 12:44:25 UTC
*** Bug 2177786 has been marked as a duplicate of this bug. ***

Comment 21 Miro Hrončok 2023-04-25 12:44:28 UTC
*** Bug 2177803 has been marked as a duplicate of this bug. ***

Comment 22 Miro Hrončok 2023-04-25 12:44:32 UTC
*** Bug 2177805 has been marked as a duplicate of this bug. ***

Comment 23 Miro Hrončok 2023-04-25 12:44:34 UTC
*** Bug 2177807 has been marked as a duplicate of this bug. ***

Comment 24 Miro Hrončok 2023-04-25 12:44:37 UTC
*** Bug 2177810 has been marked as a duplicate of this bug. ***

Comment 25 Miro Hrončok 2023-04-25 12:44:41 UTC
*** Bug 2177813 has been marked as a duplicate of this bug. ***

Comment 26 Miro Hrončok 2023-04-25 12:44:44 UTC
*** Bug 2177816 has been marked as a duplicate of this bug. ***

Comment 27 Miro Hrončok 2023-04-25 12:44:47 UTC
*** Bug 2177820 has been marked as a duplicate of this bug. ***

Comment 28 Miro Hrončok 2023-04-25 12:44:51 UTC
*** Bug 2177823 has been marked as a duplicate of this bug. ***

Comment 29 Miro Hrončok 2023-04-25 12:44:55 UTC
*** Bug 2177826 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.