Details
Description
When I try to migrate my PySide bindings to 6.8.x, the compilation fails with the error message from the summary ('_PyArg_ParseTuple_SizeT': identifier not found).
I have tried to search the internet for solutions, but I didn't find anything.
With 6.7.x everything works fine.
It tried on windows and linux and used python versions 3.9, 3.10 and 3.11 and the compilation error happens everywhere. Maybe I miss a new define to be set or an option for the shiboken code generation?
Hmm. It seems to be connected to the usage of the Py_LIMITED_API define. Formerly, I was just defining it by passing -DPy_LIMITED_API to the compiler. This doesn't seem to work anymore now. I was trying with -DPy_LIMITED_API=03070000 according to https://docs.cython.org/en/latest/src/userguide/limited_api.html and that compiles, but the compiled python module seems to segfault immediately.
Attachments
For Gerrit Dashboard: PYSIDE-2943 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
608820,6 | Raise Python version to 3.8 | dev | pyside/pyside-setup | Status: MERGED | +2 | +1 |
608980,3 | Fix flake 8 errors in utility scripts | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
609193,2 | Fix flake 8 errors in utility scripts | 6.8 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
609195,2 | Raise Python version to 3.8 | 6.8 | pyside/pyside-setup | Status: MERGED | +2 | 0 |