diff --git a/python/sdist/pyproject.toml b/python/sdist/pyproject.toml index 905e564cf4..f93d0c7e1b 100644 --- a/python/sdist/pyproject.toml +++ b/python/sdist/pyproject.toml @@ -4,13 +4,7 @@ requires = [ "setuptools>=61", "wheel", - # oldest-supported-numpy helps us to pin numpy here to the lowest supported - # version to have ABI-compatibility with the numpy version in the runtime - # environment. The undesirable alternative would be pinning the setup.py - # numpy requirement to the same version as here, which we want to avoid. - # cf. discussion at https://github.com/numpy/numpy/issues/5888 - # (https://github.com/scipy/oldest-supported-numpy/) - "oldest-supported-numpy", + "numpy>=2.0", "cmake-build-extension==0.6.0", ] build-backend = "setuptools.build_meta" diff --git a/python/tests/test_preequilibration.py b/python/tests/test_preequilibration.py index d9a2335459..bb657b4153 100644 --- a/python/tests/test_preequilibration.py +++ b/python/tests/test_preequilibration.py @@ -32,7 +32,7 @@ def preeq_fixture(pysb_example_presimulation_module): edata_preeq = amici.ExpData(edata) edata_preeq.t_presim = 0 - edata_preeq.setTimepoints([np.infty]) + edata_preeq.setTimepoints([np.inf]) edata_preeq.fixedParameters = edata.fixedParametersPreequilibration edata_preeq.fixedParametersPresimulation = () edata_preeq.fixedParametersPreequilibration = ()