Hello, Via doing an impact check for the latest Cython 3.2.0, python-giacpy failed to build from source. Snippet: File "../../giacpy/giacpy.pyx", line 266, in giacpy.pyx Failed example: A[0][0]=A[0][0]+1; A # similar as A[0,0]=A[0,0]+1 Exception raised: Traceback (most recent call last): File "<doctest giacpy.pyx[54]>", line 1, in <module> A[0][0]=A[0][0]+1; A # similar as A[0,0]=A[0,0]+1 ~~~~^^^ File "giacpy/giacpy.pyx", line 1027, in giacpy.giacpy.Pygen.__setitem__ TypeError: Expected bool, got int Trying: A.pcar(x) # compute the characteristic polynomial of A Expecting: x**2-48*x+170 Full build logs can be found here: https://copr.fedorainfracloud.org/coprs/cstratak/cython-3.2.0/package/python-giacpy/ The issue can be fixed with this patch, as Cython now explicitly expect a bool to be true: --- a/giacpy/giacpy.pyx +++ b/giacpy/giacpy.pyx @@ -1024,10 +1024,10 @@ cdef class Pygen(GiacMethods_base): """ cdef gen v cdef gen g = gen(<string>encstring23('GIACPY_TMP_NAME050268070969290100291003'),context_ptr) - GIAC_sto((<Pygen>self).gptr[0],g,1,context_ptr) + GIAC_sto((<Pygen>self).gptr[0],g,True,context_ptr) g=gen(<string>encstring23('GIACPY_TMP_NAME050268070969290100291003[%s]'%(str(key))),context_ptr) v=(<Pygen>(Pygen(value).eval())).gptr[0] - GIAC_sto(v,g,1,context_ptr) + GIAC_sto(v,g,True,context_ptr) Pygen('purge(GIACPY_TMP_NAME050268070969290100291003):;').eval() return Reproducible: Always
FEDORA-2025-e34676e725 (giac-2.0.0.17-1.fc44 and python-giacpy-0.7.4-1.fc44) has been submitted as an update to Fedora 44. https://bodhi.fedoraproject.org/updates/FEDORA-2025-e34676e725
FEDORA-2025-e34676e725 (giac-2.0.0.17-1.fc44 and python-giacpy-0.7.4-1.fc44) has been pushed to the Fedora 44 stable repository. If problem still persists, please make note of it in this bug report.