From e6405cf0955d515daeb2f2454bee243d416d0993 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sun, 4 Jan 2026 21:35:28 +0000 Subject: [PATCH] gnu: python-salib: Update to 1.5.2. * gnu/packages/python-science.scm (python-salib): Update to 1.5.2. [phases]{set-version}: New phase. [native-inputs]: Remove python-pytest-cov; add python-hatch-vcs. Change-Id: Ibff2633efa0f7657a40b580a3028cb71f57b923d Signed-off-by: Rutherther --- gnu/packages/python-science.scm | 44 +++++++++++++++++++++------------ 1 file changed, 28 insertions(+), 16 deletions(-) diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index fc9482a311b7d2f2aaadce703ae8fd5ab5f55155..71d402f28ac7b8ba7c4abee1a7220ee3aa68a12b 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -2796,23 +2796,35 @@ automated with the minimum of fuss and the least effort.") (define-public python-salib (package (name "python-salib") - (version "1.4.7") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/SALib/SALib") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "18xfyzircsx2q2lmfc9lxb6xvkxicnc83qzghd7df1jsprr5ymch")))) + (version "1.5.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/SALib/SALib") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0v7l6qbxgclz644fq1vmakfasxcdhg1g019b5w47hlxqw8fx0ipl")))) (build-system pyproject-build-system) - (propagated-inputs (list python-matplotlib - python-multiprocess - python-numpy - python-pandas - python-scipy)) - (native-inputs (list python-hatchling python-pytest python-pytest-cov)) + (arguments + (list + ;; tests: 190 passed, 1 xfailed, 28 warnings + #:phases + #~(modify-phases %standard-phases + (add-before 'build 'set-version + (lambda _ + (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))))) + (native-inputs + (list python-hatch-vcs + python-hatchling + python-pytest)) + (propagated-inputs + (list python-matplotlib + python-multiprocess + python-numpy + python-pandas + python-scipy)) (home-page "https://salib.readthedocs.io/en/latest/") (synopsis "Tools for global sensitivity analysis") (description "SALib provides tools for global sensitivity analysis. It