Commits


Sebastian Berg authored and Uwe L. Korn committed d1ffe7229f3
ARROW-10833: [Python] Allow pyarrow to be compiled on NumPy <1.16.6 and work on 1.20+ NumPy before `1.16.6` had a faulty macro which now finally (in NumPy 1.20) will lead to actually wrong results (it will always return False) even when the dtype is a NumPy dtype. This fixes it by avoiding the macro, the macro itself is fixed in NumPy 1.16.6+, but this ensures that for the time being you can compile using an older NumPy versions. Since this breaks PyArrow, my best suggestion is that NumPy could wait for its final 1.20 release until after PyArrow had a chance to do a bug-fix release that includes this fix. --- xref: https://github.com/numpy/numpy/issues/17913 Closes #8834 from seberg/fix-descr-check Authored-by: Sebastian Berg <sebastian@sipsolutions.net> Signed-off-by: Uwe L. Korn <uwe.korn@quantco.com>