Skip to content

Commit

Permalink
Merge pull request #271 from cta-observatory/update_dps
Browse files Browse the repository at this point in the history
Update dependencies, support astropy 6.0
  • Loading branch information
maxnoe authored Dec 14, 2023
2 parents 5b239f2 + 42d3630 commit e591335
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
1 change: 1 addition & 0 deletions docs/changes/271.maintenance.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add support for astropy 6.0.
2 changes: 1 addition & 1 deletion pyirf/utils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import numpy as np
import astropy.units as u
from astropy.coordinates.angle_utilities import angular_separation
from astropy.coordinates import angular_separation

from .exceptions import MissingColumns, WrongColumnUnit

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools >= 40.6.0", "setuptools_scm[toml]>=3.4"]
requires = ["setuptools>=60", "setuptools-scm[toml]>=8.0"]
build-backend = "setuptools.build_meta"

[tool.towncrier]
Expand Down
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,8 @@
use_scm_version={"write_to": os.path.join("pyirf", "_version.py")},
packages=find_packages(exclude=['pyirf._dev_version']),
install_requires=[
"astropy>=5.3",
"matplotlib",
"numpy>=1.18",
"astropy>=5.3,<7.0.0a0",
"numpy>=1.21",
"scipy",
"tqdm",
],
Expand Down

0 comments on commit e591335

Please sign in to comment.