MAINT: also disable has_ufunc_attr

see gh-4920