From d760947db2fd862c4a268dacb810c0437ca71377 Mon Sep 17 00:00:00 2001 From: Nickolai Belakovski Date: Fri, 15 Mar 2024 17:38:00 +0800 Subject: [PATCH] Add scipy 1.9.0 dependency and bump python min version to 3.8 --- pyproject.toml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index de6283691e..782bf38f1d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"]