The deprecation for the aliases np.object, np.bool, np.float, np.complex, np.str, and np.int is expired
(introduces NumPy 1.20). Some of these will now give a FutureWarning in addition to raising an error
since they will be mapped to the NumPy scalars in the future.
This is failing due to the recently deprecated numpy value
np.boolin the1.9.1release of mxnet. From the 1.24.0 release notes (https://numpy.org/doc/stable/release/1.24.0-notes.html#expired-deprecations):