this is an upstream bug, using non-public Python API (this should
still work with Python 3.10, but not with 3.11):
> src/pyscipopt/scip.c:463:62: error: invalid use of incomplete typedef 'PyFrameObject' {aka 'struct _frame'}
> 463 | #define __Pyx_PyFrame_SetLineNumber(frame, lineno) (frame)->f_lineno = (lineno)
cf.
https://docs.python.org/3.11/whatsnew/3.11.html
The PyFrameObject structure members have been removed from the public C API.
While the documentation notes that the PyFrameObject fields are
subject to change at any time, they have been stable for a long time
and were used in several popular extensions.
In Python 3.11, the frame struct was reorganized to allow performance
optimizations. Some fields were removed entirely, as they were details
of the old implementation.
On Thu, Mar 16, 2023 at 1:10 PM 'Martin R' via sage-devel
> To view this discussion on the web visit
https://groups.google.com/d/msgid/sage-devel/42199586-647d-4dc0-9b88-9ff5c7ff8737n%40googlegroups.com.