Describe the bug
In #3524 I added auto-generation of np.import_array to help users out who'd forgotten to include it themselves. In that I relied on the NPY_NDARRAYOBJECT_H header include guard to identify "real" Numpy. In numpy/numpy@6dff0c2 they renamed their header include guard, thus breaking the fix.
See scipy/scipy#14732 and related issue #4394
Additional context
I'll submit a fix (and a more robust set of tests...) fairly shortly
Describe the bug
In #3524 I added auto-generation of
np.import_arrayto help users out who'd forgotten to include it themselves. In that I relied on theNPY_NDARRAYOBJECT_Hheader include guard to identify "real" Numpy. In numpy/numpy@6dff0c2 they renamed their header include guard, thus breaking the fix.See scipy/scipy#14732 and related issue #4394
Additional context
I'll submit a fix (and a more robust set of tests...) fairly shortly