Describe the bug
Since numpy v1.24, numpy.int, numpy.float, numpy.object, numpy.bool is no longer able to be imported, while cases are that mt.int is used. Deprecate warnings removed by PR #2788 finally come into reality.
To Reproduce
To help us reproducing this bug, please provide information below:
Your Python version: v3.8.13
The version of Mars you use: master
Versions of crucial packages, numpy v1.24.1
Full stack of the error.
AttributeError: module 'mars.tensor' has no attribute 'int'
Minimized code to reproduce the error.
import mars.tensor as mt
mt.int
Expected behavior
AttributeError: module 'mars.tensor' has no attribute 'int'
Describe the bug Since numpy v1.24, numpy.int, numpy.float, numpy.object, numpy.bool is no longer able to be imported, while cases are that mt.int is used. Deprecate warnings removed by PR #2788 finally come into reality.
To Reproduce To help us reproducing this bug, please provide information below:
Expected behavior AttributeError: module 'mars.tensor' has no attribute 'int'
Additional context