Skip to content

Commit

Permalink
Update pyproject.toml: try and keep Python 3.8 support
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpitkin authored Jul 4, 2024
1 parent 0585bde commit f1ba918
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ requires = [
"setuptools_scm[toml]>=6.2",
"wheel", # ephem package likes to have wheel installed
"cython",
"numpy>=2.0.0",
'numpy>=2.0.0; python_version > "3.8"',
'numpy<2.0; python_version == "3.8",
]
build-backend = "setuptools.build_meta"
Expand All @@ -32,6 +33,7 @@ classifiers=[
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand All @@ -41,9 +43,10 @@ dynamic = [
"version",
]
requires-python = ">=3.9, <4"
requires-python = ">=3.8, <4"
dependencies = [
"numpy",
'numpy<2.0; python_version == "3.8"',
'numpy; python_version > "3.8"',
"scipy",
"matplotlib",
"ephem",
Expand Down

0 comments on commit f1ba918

Please sign in to comment.