DaveStrickland / AstroPhotography

Python workflow for processing astrophotography images from either digital cameras and/or amateur telescopes.
GNU General Public License v3.0
19 stars 3 forks source link

Update to match API changes in astropy 6 compared to astropy 4 #21

Closed DaveStrickland closed 5 months ago

DaveStrickland commented 5 months ago

Creating a new environment with ap-env.yml pulls in astropy 6.0. This, and the updated affiliated packages such as photutils, have a number of API differences from version 4.0 of astropy that earlier versions of this code was developed against.

Astropy regions deprecated ds9_objects_to_string in their version 0.5, and removed it in version 0.6. The current version is 0.8. ApFindStars in our version 0.5.1 and earlier is broken unless an old version of regions is installed.

The photutils package has been reorganized. make_source_mask is no longer in the lowest level namespace. This breaks ApFindStars.