You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The gala imports fail with astropy 6.0 due to a function that was removed in astropy astropy/astropy@bb7de42
In [1]: importgala---------------------------------------------------------------------------ImportErrorTraceback (mostrecentcalllast)
CellIn[1], line1---->1importgalaFile~/pyenv310/lib/python3.10/site-packages/gala/__init__.py:95importsys7__author__='adrn <[email protected]>'---->9from ._astropy_initimport*11# Enforce Python version check during package import.12# This is the same check as the one at the top of setup.py13__minimum_python_version__="3.7"File~/pyenv310/lib/python3.10/site-packages/gala/_astropy_init.py:2119importos20fromwarningsimportwarn--->21fromastropy.config.configurationimport (
22update_default_config,
23ConfigurationDefaultMissingError,
24ConfigurationDefaultMissingWarning)
26# Create the test function for self test27fromastropy.tests.runnerimportTestRunnerImportError: cannotimportname'update_default_config'from'astropy.config.configuration' (/home/skoposov/pyenv310/lib/python3.10/site-packages/astropy/config/configuration.py)
TBH it's not clear to me what _astropy_init.py's purpose is anyway...
Thanks
S
The text was updated successfully, but these errors were encountered:
segasai
changed the title
astropy=6.0 issue
Import issue with astropy 6.0
Dec 5, 2023
Yes I need to redo the packaging layout of gala - this is mostly vestigial! Thanks for the issue - I just opened #345 which should hopefully fix the compatibility with astropy 6.0!
Hi,
The gala imports fail with astropy 6.0 due to a function that was removed in astropy
astropy/astropy@bb7de42
TBH it's not clear to me what _astropy_init.py's purpose is anyway...
Thanks
S
The text was updated successfully, but these errors were encountered: