Project

Profile

Help

saxonche: support for Python 3.13

Added by Yegor Yefremov 11 days ago

Are you already working on Python 3.13 support? There are no related wheels on pypi and build from source code fails with:

python_saxon/saxonc.cpp(61334): error C3861: '_PyDict_SetItem_KnownHash': identifier not found python_saxon/saxonc.cpp(64381): error C2660: '_PyLong_AsByteArray': function does not take 5 arguments

Thanks.


Replies (2)

RE: saxonche: support for Python 3.13 - Added by O'Neil Delpratt 11 days ago

Thanks for reporting this issue. I have created a bug issue in the SaxonC project to track its progress: #6561

RE: saxonche: support for Python 3.13 - Added by Yegor Yefremov 11 days ago

Great. Thanks for the quick response.

While at this, could you also take a look at Python 3.14? There are even more errors:

2024-10-17T13:57:37,838 Error compiling Cython file: 2024-10-17T13:57:37,840 ------------------------------------------------------------ 2024-10-17T13:57:37,840 ... 2024-10-17T13:57:37,841 cdef int size = c_dataMap.size()

2024-10-17T13:57:37,842 cdef str key_str 2024-10-17T13:57:37,843 while (it != c_dataMap.end()): 2024-10-17T13:57:37,843 c_xdmNode = dereference(it).second 2024-10-17T13:57:37,844 key_str = make_py_str(dereference(it).first.c_str()) 2024-10-17T13:57:37,845 ^ 2024-10-17T13:57:37,846 ------------------------------------------------------------

2024-10-17T13:57:37,846 python_saxon\saxonc.pyx:1921:33: Call with wrong number of arguments (expected at least 1, got 0)

    (1-2/2)

    Please register to reply