digitalearthau
digitalearthau copied to clipboard
This repo uses numpy.bool which is not compatible with recent versions of numpy
As reported on Slack, the numpy.bool
type is used in https://github.com/GeoscienceAustralia/digitalearthau/blob/develop/digitalearthau/utils.py (and possibly elsewhere in this repo).
Recent versions of numpy fail on this with an AttributeError:
np.bool
was a deprecated alias for the builtinbool
. To avoid this error in existing code, usebool
by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, usenp.bool_
here. The aliases was originally deprecated in NumPy 1.20