Skip to content

Commit

Permalink
Add scipy 1.9.0 dependency and bump python min version to 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
nbelakovski committed Apr 21, 2024
1 parent 70a6b07 commit d760947
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@ build-backend = "scikit_build_core.build"

[project]
name = "prima"
dependencies = ["numpy"]
dependencies = ["numpy", "scipy >= 1.9.0"]
dynamic = ["version"]
requires-python = ">= 3.7" # Driving factor is availavility of scikit-build-core
# The driving factor for our Python version is that we need a version of SciPy that
# includes https://github.com/scipy/scipy/pull/15394. This was merged in SciPy 1.9.0,
# and Python 3.7 only support up to SciPy 1.7.3 whereas 3.8 supports 1.10.1.
requires-python = ">= 3.8"

[tool.scikit-build]
cmake.args = ["-G Ninja", "-DBUILD_SHARED_LIBS=OFF", "-DPRIMA_ENABLE_PYTHON=ON"]
Expand Down

0 comments on commit d760947

Please sign in to comment.