Skip to content

Commit

Permalink
Merge pull request #2475 from cta-observatory/astropy6
Browse files Browse the repository at this point in the history
Support for astropy 6
  • Loading branch information
kosack authored Dec 1, 2023
2 parents b175f69 + 6745dc9 commit 404c024
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
1 change: 1 addition & 0 deletions docs/changes/2475.feature.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Support astropy 6.0.
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ channels:
dependencies:
- python=3.11
- pip
- astropy=5
- astropy>=5.3,<7
- black
- bokeh=2
- nbsphinx
Expand Down
3 changes: 1 addition & 2 deletions examples/tutorials/ctapipe_overview.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
import astropy.units as u
import matplotlib.pyplot as plt
import numpy as np
from astropy.coordinates import AltAz
from astropy.coordinates.angle_utilities import angular_separation
from astropy.coordinates import AltAz, angular_separation
from matplotlib.colors import ListedColormap
from scipy.sparse.csgraph import connected_components
from traitlets.config import Config
Expand Down
2 changes: 1 addition & 1 deletion examples/tutorials/theta_square.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import matplotlib.pyplot as plt
import numpy as np
from astropy import units as u
from astropy.coordinates.angle_utilities import angular_separation
from astropy.coordinates import angular_separation
from tqdm.auto import tqdm

from ctapipe.calib import CameraCalibrator
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ packages = find:
python_requires = >=3.9
zip_safe = False
install_requires=
astropy ~=5.0
astropy >=5.3,<7.0.0a0
bokeh ~=2.0
docutils
eventio >=1.9.1, <2.0.0a0
Expand Down

0 comments on commit 404c024

Please sign in to comment.