Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ixpeobssim uses 'angle_utilities' which has been deprecated in astropy 6.0 #721

Closed
albertomanfreda opened this issue Dec 5, 2023 · 2 comments
Assignees

Comments

@albertomanfreda
Copy link
Collaborator

Apparently in Astropy6.0 'angle_utilities', which is used in ixpeobssim.utils.astro to import 'angular_separation' is gone, and you should now import 'angular_separation' directly from 'astropy.coordinates'

https://docs.astropy.org/en/stable/changelog.html
cta-observatory/pyirf#270

Thus ixpeobssim is currently not compatible with Astropy 6:

from ixpeobssim.utils import astro
Traceback (most recent call last):
File "", line 1, in
File "/home/alberto/xpe/ixpeobssim/ixpeobssim/utils/astro.py", line 28, in
from astropy.coordinates import angle_utilities, SkyCoord
ImportError: cannot import name 'angle_utilities' from 'astropy.coordinates' (/home/alberto/heasoft/.heasoft-env/lib/python3.10/site-packages/astropy/coordinates/init.py)

@lucabaldini lucabaldini self-assigned this Dec 11, 2023
@lucabaldini
Copy link
Owner

Looking into this...

@lucabaldini
Copy link
Owner

Shipped in 30.6.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants