guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit 14340690e2bb3ec882d10cdcf1d330563c0c37b7
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Jan 4 21:35:28 2026 +0000

    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
---
 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 fc9482a311..71d402f28a 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

Reply via email to