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

Update dependencies, support astropy 6.0 #271

Merged
merged 1 commit into from
Dec 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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",
RuneDominik marked this conversation as resolved.
Show resolved Hide resolved
"numpy>=1.21",
"scipy",
"tqdm",
],
Expand Down