Closed TheSkyentist closed 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.
Fantastic! Thanks for the quick response.
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#L23Possible 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)