mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-12 17:23:57 -09:00
Since commitb536caaec0("package/python-cython: bump to version 3.1.2"), python-numpy fails to build: Error compiling Cython file: ------------------------------------------------------------ ... np.issubdtype(cov.dtype, np.complexfloating)): raise TypeError("mean and cov must not be complex") if size is None: shape = [] elif isinstance(size, (int, long, np.integer)): ^ ------------------------------------------------------------ numpy/random/_generator.pyx:3760:36: undeclared name not builtin: long Backport upstream patch to fix that build failure. Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com> Signed-off-by: Julien Olivain <ju.o@free.fr> (cherry picked from commitcfabe800ad) Signed-off-by: Thomas Perale <thomas.perale@mind.be>