coin3d / pivy

python bindings to coin3d
ISC License
53 stars 37 forks source link

Pivy failes to build with Python 3.13 #107

Closed hobbes1069 closed 7 months ago

hobbes1069 commented 9 months ago

Looks like PyEval_CallObject() has been removed in Python 3.13: https://docs.python.org/3.13/whatsnew/3.13.html#id10

Build output:

/builddir/build/BUILD/pivy-0.6.8/redhat-linux-build/pivy/gui/soqtPYTHON_wrap.cxx:4964:23: error: ‘PyEval_CallObject’ was not declared in this scope; did you mean ‘PyObject_CallObject’?
 4964 |           if (!(qev = PyEval_CallObject(shiboken_wrapinst_func, arglist))) {
      |                       ^~~~~~~~~~~~~~~~~
      |                       PyObject_CallObject

Fedora BZ link: https://bugzilla.redhat.com/show_bug.cgi?id=2245811

wwmayer commented 9 months ago

Looks like PyEval_CallObject() has been removed in Python 3.13:

It's already deprecated since Py3.9

looooo commented 7 months ago

should be fixed in master, can you test @hobbes1069 if python3.13 works now?

looooo commented 7 months ago

BTW.: there is a 0.6.9.a0 prerelease available.

hobbes1069 commented 7 months ago

Confirmed.