MAINT: fix up use of NPY_NO_DEPRECATED_API
usage in f2py
#21786
Merged
NPY_NO_DEPRECATED_API
usage in f2py
#21786