radio-astro-tools / spectral-cube

Library for reading and analyzing astrophysical spectral data cubes
http://spectral-cube.rtfd.org
BSD 3-Clause "New" or "Revised" License
95 stars 61 forks source link

handle numpy.find_common_type's deprecation #883

Closed neutrinoceros closed 1 year ago

neutrinoceros commented 1 year ago

numpy.find_common_type is deprecated in numpy 1.25, see https://numpy.org/devdocs/release/1.25.0-notes.html

keflavich commented 1 year ago

Thanks!

keflavich commented 1 year ago

OK I made a big mistake merging this; tests did not pass. I must have seen green before the tests ran.

neutrinoceros commented 1 year ago

Ah, sorry about that. I misread the docs and wasn't able to run tests locally.