Describe the bug
As of astropy v6.0.0 update_default_config has been removed. This causes the following error at import of hoki:
Traceback (most recent call last):
File "/Users/willroper/Research/Synthesizer/synthesizer-grids/src/synthesizer_grids/create_grids/incident/sps/install_bpass2.2.1.py", line 9, in <module>
from hoki import load
File "/Users/willroper/envs/synthesizer-env/lib/python3.10/site-packages/hoki/__init__.py", line 6, in <module>
from ._astropy_init import * # noqa
File "/Users/willroper/envs/synthesizer-env/lib/python3.10/site-packages/hoki/_astropy_init.py", line 21, in <module>
from astropy.config.configuration import (
ImportError: cannot import name 'update_default_config' from 'astropy.config.configuration' (/Users/willroper/envs/synthesizer-env/lib/python3.10/site-packages/astropy/config/configuration.py)
Describe the bug As of astropy v6.0.0
update_default_config
has been removed. This causes the following error at import ofhoki
:See https://github.com/astropy/astropy/blob/main/CHANGES.rst#L7.
To Reproduce Steps to reproduce the behaviour:
Expected behaviour The import to work and use the astropy config method recommended after deprecation of
update_default_config
in v5.0.0.Desktop (please complete the following information):