Open ocefpaf opened 4 months ago
NOTE: This might couple to #443 Not sure of the exact relationship here, needs investigating
NOTE: This might couple to #443 Not sure of the exact relationship here, needs investigating
Note that PyPI doesn't support repodata patching, like in conda-forge. That means cf-units build with numpy<2 will be installable in numpy>=2 envs unless the user pins it! Changes like https://github.com/SciTools/cf-units/pull/427/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711 would help ameliorate that if a new release with these changes are out soon. Another action would be a post release of the current one with the numpy<2 pin in it.
🚀 Pull Request
Description
This PR adapts the code for numpy 2.0. I'm building on top of #313 b/c this one should be merged after that one. Note that I did not add numpy 2.0 to the test matrix yet. The test matrix here is quite complex with automated conda-lock, tox, etc. It is quite hard to contribute to it!