Closed marcelo-alvarez closed 1 year ago
I think this is just a matter of grepping for "clobber" when used with astropy.io.fits and replacing it with "overwrite", which is backwards compatible with older versions of astropy. However, be careful that fitsio still uses "clobber", so we have to update on a case-by-case basis depending upon whether the I/O is being done with astropy or fitsio.
Volunteers welcome! If anyone can make these updates, please assign this ticket to yourself to claim it.
Numerous unit tests fail with astropy >=5.1. At least four are because the deprecated clobber argument was removed from the astropy.io.fits functions in version 5.1, e.g.:
@sbailey this will block us from a new desiconda with astropy >=5.1 for Iron. Options are
I don't know at this time what it would take to implement (1), nor whether doing so would fix all of the unit test failures currently happening with astropy 5.2.