You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some reason it is not possible to compile DeNSE with the new Cython 3 version.
Compilation fails with:
Dans le fichier inclus depuis /usr/include/python3.11/Python.h:11,
depuis DeNSE/src/pymodule/dense/_pygrowth.cpp:60:
DeNSE/src/pymodule/dense/_pygrowth.cpp: Dans la fonction « int __pyx_import_star_set(PyObject*, PyObject*, char*) »:
/usr/include/python3.11/patchlevel.h:19:33: erreur: l-valeur exigée comme opérande de gauche de l'affectation
19 | #define PY_MAJOR_VERSION 3
| ^
DeNSE/src/pymodule/dense/_pygrowth.cpp:52624:3: note: dans l'expansion de la macro « PY_MAJOR_VERSION »
52624 | PY_MAJOR_VERSION = __Pyx_PyInt_As_int(o); if (unlikely((PY_MAJOR_VERSION == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 203, __pyx_L2_error)
| ^~~~~~~~~~~~~~~~
/usr/include/python3.11/pyport.h:132:27: erreur: l-valeur exigée comme opérande de gauche de l'affectation
132 | # define PY_SSIZE_T_MAX SSIZE_MAX
| ^~~~~~~~~
DeNSE/src/pymodule/dense/_pygrowth.cpp:52627:3: note: dans l'expansion de la macro « PY_SSIZE_T_MAX »
52627 | PY_SSIZE_T_MAX = __Pyx_PyIndex_AsSsize_t(o); if (unlikely((PY_SSIZE_T_MAX == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(1, 63, __pyx_L2_error)
| ^~~~~~~~~~~~~~
error: command '/usr/bin/gcc' failed with exit code 1
The text was updated successfully, but these errors were encountered:
For some reason it is not possible to compile DeNSE with the new Cython 3 version.
Compilation fails with:
The text was updated successfully, but these errors were encountered: