Skip to content

Commit

Permalink
Merge pull request #201 from PrincetonUniversity/numpy2_fix
Browse files Browse the repository at this point in the history
specify oldest numpy for python 3.8 as this fails in CI
  • Loading branch information
smiet authored Jun 27, 2024
2 parents 7a6282a + aac5eb8 commit 515e5d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Utilities/pythontools/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
setuptools.setup(
name="py_spec",
version=__version__,
setup_requires=["numpy>=2.0"],
setup_requires=["numpy>=2.0.0; python_version > '3.8'",
"oldest-supported-numpy; python_version <= '3.8'"],
install_requires=["numpy>=1.21.1"],
description="SPEC(Stepped-Pressure Equilibrium Code) python utilities",
long_description=long_description,
Expand Down

0 comments on commit 515e5d4

Please sign in to comment.