karllark / dust_attenuation

Astronomical Dust Attenuation
http://dust-attenuation.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
4 stars 8 forks source link

Broken in Astropy 6.0.0 #54

Closed TheSkyentist closed 10 months ago

TheSkyentist commented 10 months ago

Code is broken in Astropy 6.0.0 due to deprecation in the Configuration System module (see Astropy issue #11497)

Error that arises comes when the code attempts to import update_default_config which has been deprecated. https://github.com/karllark/dust_attenuation/blob/96cd27df7ed9b052797571eee1761b213e0bbaa0/dust_attenuation/_astropy_init.py#L23

Possible solutions are to: a. Pin to astropy < 6.0.0 in setup.cfg. b. Update to use updated interface.

This also affects packages that use this as a dependency (e.g. eazy @gbrammer)

karllark commented 10 months ago

Yes, I've seen this issue in other repositories and the fix is straightforward. Will put this on the todo list for today/tomorrow.

Great to hear this package is used by others.

TheSkyentist commented 10 months ago

Fantastic! Thanks for the quick response.