Replaces the use of np.warnings with Python's builtin warnings module. It seems like the formers was a alias for the latter in older versions of Python and is no longer, breaking clodius in numpy v1.24.
Why is it necessary?
Allows latest numpy to be compatible with clodius.
Description
What was changed in this pull request?
Replaces the use of
np.warnings
with Python's builtinwarnings
module. It seems like the formers was a alias for the latter in older versions of Python and is no longer, breaking clodius innumpy
v1.24.Why is it necessary?
Allows latest numpy to be compatible with clodius.
Fixes #___
Checklist
black .