Closed drvdputt closed 5 months ago
I have been fixing this issue in my repositories. So can put my fix on a PR in the next day or so if that is helpful.
Thanks Karl, that would be very useful. I was expecting that other people already ran into this.
PR ready for review.
In the astropy template, which was used to set up the pahfit package, there is the file
pahfit/_astropy_init.py
. There is some code in there which does no longer work with astropy 6.0.0, becauseupdate_default_config
was removed fromastropy.config.configuration
.We need to look at this code and see if there's a trivial change we can do. And then set an appropriate astropy version constraint.
As a workaround, I just commented things out everything referring to update_default_config.