On Tue, Nov 14, 2023 at 5:18 PM Marc Culler <marc.cul...@gmail.com> wrote:
>
> The symengine package has apparently not been updated to be compatible with 
> cython 3.

https://github.com/symengine/symengine.py/issues/456


>
> This is what I see in the log (full log attached):
>
>   performance hint: 
> /private/var/tmp/sage-10.2-current/local/var/lib/sage/venv-python3.11.1/var/tmp/sage/build/symengine_py-0.10.0/src/symengine/lib/symengine_wrapper.pyx:4992:5:
>  Exception check on '_ctypes_callback_lambda_real' will always require the 
> GIL to be acquired.
>   Possible solutions:
>         1. Declare the function as 'noexcept' if you control the definition 
> and you're sure you don't want the function to raise exceptions.
>         2. Use an 'int' return type on the function to allow an error code to 
> be returned.
>
>   Error compiling Cython file:
>   ------------------------------------------------------------
>   ...
>       cdef Basic X = sympify((<object>o1).diff(c2py(symbol)._sympy_()))
>       return X.thisptr
>
>   def create_sympy_module():
>       cdef PyModule s = PyModule.__new__(PyModule)
>       s.thisptr = symengine.make_rcp_PyModule(&symengine_to_sympy, 
> &pynumber_to_symengine, &sympy_eval,
>                                               ^
>   ------------------------------------------------------------
>
>   
> /private/var/tmp/sage-10.2-current/local/var/lib/sage/venv-python3.11.1/var/tmp/sage/build/symengine_py-0.10.0/src/symengine/lib/symengine_wrapper.pyx:2805:44:
>  Cannot assign type 'PyObject *(*)(rcp_const_basic) except? NULL' to 
> 'PyObject *(*)(rcp_const_basic) noexcept'. Exception values are incompatible. 
> Suggest adding 'noexcept' to type 'PyObject *(rcp_const_basic) except? NULL'.
>   make[7]: *** [symengine/lib/symengine_wrapper.cpp] Error 1
>   make[6]: *** [symengine/lib/CMakeFiles/symengine_wrapper.dir/all] Error 2
>   make[5]: *** [all] Error 2
>   error: error building project
>   error: subprocess-exited-with-error
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-devel+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-devel/4fd16cfa-59fc-4571-b7a8-1ac5caeda95dn%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAWYfq24%3DM9_YfwUjp3-vsc7E4Qus6%3DuqtxFfXeWxZXVS5Oarw%40mail.gmail.com.

Reply via email to