Skip to content

Commit

Permalink
Merge pull request #274 from cta-observatory/pin_astropy
Browse files Browse the repository at this point in the history
Pin astropy to >=5.3,<6 for gammapy
  • Loading branch information
maxnoe authored Dec 12, 2023
2 parents 571889f + 95c1331 commit 5b239f2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,20 @@
"notebook",
"tables",
"towncrier",
"astropy~=5.3", # gammapy doesn't yet support 6.0 but doesn't pin it
gammapy,
],
"tests": [
"pytest",
"pytest-cov",
"astropy~=5.3", # gammapy doesn't yet support 6.0 but doesn't pin it
gammapy,
"ogadf-schema~=0.2.3",
"uproot~=4.0",
"awkward~=1.0",
],
"gammapy": [
"astropy~=5.3", # gammapy doesn't yet support 6.0 but doesn't pin it
gammapy,
],
}
Expand All @@ -43,7 +46,7 @@
use_scm_version={"write_to": os.path.join("pyirf", "_version.py")},
packages=find_packages(exclude=['pyirf._dev_version']),
install_requires=[
"astropy>=4.0.2",
"astropy>=5.3",
"matplotlib",
"numpy>=1.18",
"scipy",
Expand Down

0 comments on commit 5b239f2

Please sign in to comment.