Skip to content

does not work with Python 3.11 #660

@dimpase

Description

@dimpase

On Linux:

  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)

this is due to PyFrameObject structure members have been removed from the public C API, cf
https://docs.python.org/3.11/whatsnew/3.11.html

No surprise, as PyFrameObject was always subject to change.

See also https://groups.google.com/d/msgid/sage-devel/42199586-647d-4dc0-9b88-9ff5c7ff8737n%40googlegroups.com.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions