It was suggested in #24085 that we should remove the PyArray complex macros, namely PyArray_CGT, PyArray_CLT, PyArray_CLE, PyArray_CGE, PyArray_CEQ and PyArray_CNE. They're not used in external packages and we only use them in two places internally that can be easily refactored.
Also, PyArray_MIN and PyArray_MAX should be moved to npy_math.h.