Closed ortk95 closed 4 months ago
Totals | |
---|---|
Change from base Build 8265866928: | 0.001% |
Covered Lines: | 2888 |
Relevant Lines: | 2900 |
We're just waiting for astropy 6.1, which adds numpy 2.0 compatibility https://github.com/ortk95/planetmapper/issues/301#issuecomment-2037126065
Checks all pass locally with numpy 2.0.0rc1
Minor updates to work with the new major version of NumPy (2.0).
This pull request also changes the tests so that any warnings are raised as errors. This causes e.g. a
DeprecationWarning
will cause a test to fail, ensuring it is fixed before releasing.Closes #301
Pull request checklist
requirements.txt
are reflected insetup.py
and conda-forge feedstockrun_ci.sh
or check GitHub Actions)See CONTRIBUTING.md for more details.