On Fri, Feb 26, 2010 at 12:41 PM, Charles R Harris <[email protected]> wrote: > > > On Fri, Feb 26, 2010 at 10:34 AM, Pauli Virtanen <[email protected]> wrote: >> >> pe, 2010-02-26 kello 12:26 -0500, [email protected] kirjoitti: >> [clip] >> > recompiling wouldn't be enough, the cython c files also need to be >> > regenerated for a different numpy version. >> > (If I understand the problem correctly.) >> >> No. The Cython-generated sources just use sizeof(PyArray_Descr), the >> value is not hardcoded, so it's a compile-time issue. > > So Ralf need to be sure that scipy was compiled against, say, numpy1.3.
I think I mixed up some things then, scipy 0.7.1 cython files should be regenerated with the latest cython release so that it doesn't check the sizeof anymore. Then, a scipy 0.7.1 build against numpy 1.3 would also work without recompiling against numpy 1.4.1 Is this correct? Josef > > Chuck > > > _______________________________________________ > NumPy-Discussion mailing list > [email protected] > http://mail.scipy.org/mailman/listinfo/numpy-discussion > > _______________________________________________ NumPy-Discussion mailing list [email protected] http://mail.scipy.org/mailman/listinfo/numpy-discussion
