allegroai / clearml-serving

ClearML - Model-Serving Orchestration and Repository Solution
https://clear.ml
Apache License 2.0
138 stars 40 forks source link

changed np.bool deprecated in numpy 1.20.0, changed to bool #47

Closed anon-it closed 1 year ago

anon-it commented 1 year ago

Related to this commit a04d1bd.

np.bool was a deprecated alias for the builtin bool. To avoid this error in existing code, 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. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations

jkhenning commented 1 year ago

@anon-it, can you please address the comments?

jkhenning commented 1 year ago

Closing this as the fix has already been introduced.