I'm receiving a deprecation notice saying that numpy.bool should be replaced in imagehash.py
Should the library be compatible with recent versions of numpy now?
Notice:
/opt/hostedtoolcache/Python/3.8.10/x64/lib/python3.8/site-packages/imagehash.py:525: DeprecationWarning: `np.bool` is a deprecated alias for the builtin `bool`. To silence this warning, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
unassigned_pixels = numpy.full(pixels.shape, True, dtype=numpy.bool)
Hello,
Thanks for making this great library!
I'm receiving a deprecation notice saying that numpy.bool should be replaced in imagehash.py
Should the library be compatible with recent versions of numpy now?
Notice: