In NumPy 1.24, numpy.bool8 is deprecated, and just to make sure no one misses it, it's already been removed from the type annotations, so now mypy fails. The new bool8 is bool_, which has been around since at least 1.13, so we can safely replace it.
I guess someone hit the 8 with their software carpentry hammer?
In NumPy 1.24,
numpy.bool8
is deprecated, and just to make sure no one misses it, it's already been removed from the type annotations, so now mypy fails. The newbool8
isbool_
, which has been around since at least 1.13, so we can safely replace it.I guess someone hit the 8 with their software carpentry hammer?