Closed e-koch closed 1 month ago
Attention: Patch coverage is 25.00000%
with 6 lines
in your changes missing coverage. Please review.
Project coverage is 79.93%. Comparing base (
7bc6bac
) to head (46e5804
). Report is 5 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Failures resulting from ndarray.ptp
being removed in numpy >2.0 (see https://github.com/astropy/astropy/commit/fbf7c89725f34d92a9dcf739e2bea4371add7fd0)
Removing ptp as a method fixed this issue.
Remaining issues are related to the casadata package. @keflavich the fix that was working in the uvcombine doesn't seem to be working anymore
Updating the data manually via casaconfig seems to fix the casadata path error: https://casadocs.readthedocs.io/en/stable/notebooks/external-data.html#Populating-the-Data-Directory-Manually
@keflavich @preshanth the tests are hitting 2 failures that seem to imply underlying changes in the image tool? I'm somewhat lost on where the change actually occurred.
The current failures have 2 sources:
ia.setrestoringbeam
desc
dict that casa-formats-io returns has a different key structure: https://github.com/radio-astro-tools/spectral-cube/actions/runs/10256840948/job/28376751741?pr=917#step:6:720. The list of keys the test is returning right now is here: https://github.com/radio-astro-tools/spectral-cube/actions/runs/10256840948/job/28376751741?pr=917#step:6:727 This issue remainsalso note that the CASA builds are pinned to numpy<2.0.
There were a bunch of additional errors related to a build numpy 1.X build somewhere in the casa module stack. That seems firmly upstream of handling in spectral-cube.
On casa numpy issue. There is ongoing work to fix casa and put out an updated version. That should fix the numpy 2.0 problems. Will look at the dict when I get a chabce
I'm gonna do what I suggested - being incompatible with numpy 2.0 is not ok, and no other PR tests are going to work without this.
Test fixes against numpy 2.0