pyamrex
pyamrex copied to clipboard
Fix NumPy 2.0 Warning, Require 2.0+
Fix #426: np.array(..., copy=False) to np.asarray(..., copy=False).
- https://numpy.org/devdocs/numpy_2_0_migration_guide.html#adapting-to-changes-in-the-copy-keyword
- https://numpy.org/doc/2.2/reference/generated/numpy.asarray.html
Bump requirements to NumPy 2.0+: we so far supported NumPy 1 & 2 in parallel, but NumPy 2 is widely enough deployed to require it now.