Skip to content

Commit

Permalink
Downgraded requirement for numpy to <2.0.0
Browse files Browse the repository at this point in the history
while pandeia.engine is <4.0.0
  • Loading branch information
pcubillos committed Jul 28, 2024
1 parent 2068a08 commit 90c742f
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[build-system]
requires = [
"setuptools>=61.0",
'numpy>=2.0.0',
]
build-backend = "setuptools.build_meta"

Expand All @@ -22,7 +21,8 @@ dependencies = [
'shiny>=1.0.0',
'pandeia.engine>=3.0.0',
'scipy',
'numpy>=1.15.1',
# Version <2.0 while pandeia.engine<4.0.0
'numpy>=1.15.1,<2.0.0',
'requests>=2.19.1',
'grequests>=0.7.0',
'astropy>=5.3.0',
Expand All @@ -42,16 +42,20 @@ dependencies = [
[project.scripts]
tso = "gen_tso.__main__:main"

[tool.setuptools]
packages = ["gen_tso"]

[tool.setuptools.dynamic]
version = {attr = "gen_tso.version.__version__"}

#https://setuptools.pypa.io/en/stable/userguide/datafiles.html
[tool.setuptools.package-data]
"gen_tso.data" = ["*"]

#https://setuptools.pypa.io/en/stable/userguide/package_discovery.html
[tool.setuptools.packages]
find = {namespaces = false} # Take only folders with a __init__.py file

#[tool.setuptools]
#packages = ["gen_tso"]

[tool.pytest.ini_options]
filterwarnings = [
"ignore:datetime.datetime.utcfromtimestamp:DeprecationWarning",
Expand Down

0 comments on commit 90c742f

Please sign in to comment.