Bug#1057863: slepc4py ftbfs with Python 3.12

2023-12-17 Thread Drew Parsons
Source: slepc4py
Followup-For: Bug #1057863

Correction: curexc_traceback is not used in slepc4py 3.19.
Maybe it's time to upgrade to PETSc 3.19.



Bug#1057863: slepc4py ftbfs with Python 3.12

2023-12-17 Thread Drew Parsons
Source: slepc4py
Followup-For: Bug #1057863

slepc4py does not use curexc_traceback.

Perhaps this is a bug in cython?



Bug#1057863: slepc4py ftbfs with Python 3.12

2023-12-09 Thread Matthias Klose

Package: src:slepc4py
Version: 3.18.3-1
Severity: serious
Tags: sid trixie
User: debian-pyt...@lists.debian.org
Usertags: python3.12

slepc4py ftbfs with Python 3.12, first errors:

[...]
src/slepc4py.SLEPc.c: In function ‘__Pyx_Raise’:
src/slepc4py.SLEPc.c:123040:34: error: ‘PyThreadState’ {aka ‘struct 
_ts’} has no member named ‘curexc_traceback’

123040 | PyObject* tmp_tb = tstate->curexc_traceback;
   |  ^~
src/slepc4py.SLEPc.c:123043:19: error: ‘PyThreadState’ {aka ‘struct 
_ts’} has no member named ‘curexc_traceback’

123043 | tstate->curexc_traceback = tb;
   |   ^~