Skip to content

Build fails for Python3.13 #474

@sxntxn

Description

@sxntxn

Build fails for python 3.13, because PyEval_CallFunction has been removed, see python/cpython#105107 .

Compiler error:
bpl-subset/bpl_subset/pycudaboost/python/call.hpp:62:9: error: there are no arguments to ‘PyEval_CallFunction’ that depend on a template parameter, so a declaration of ‘PyEval_CallFunction’ must be available [-fpermissive]
... the offending code is actually in https://github.com/inducer/bpl-subset .
Simply replacing PyEval_CallFunction with PyObject_CallFunction seems to do the trick, but probably Python<3.9 (<3.8?) will not work anymore. boost switched over to PyObject_CallFunction in 1.75.0, for what it's worth.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions