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

commit e9ea1a6ee91d0a5e83632eba6320472535aa1cbe
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Mon Jun 22 00:13:26 2026 +0100

    gnu: python-arviz: Update to 1.2.0.
    
    * gnu/packages/statistics.scm (python-arviz): Update to 1.2.0.
    [arguments]<test-flags>: Test suite was distributed to other ArviZ packages.
    [phases]{pre-check}: Remove phase.
    [propagated-inputs]: Remove python-h5netcdf, python-matplotlib,
    python-numpy, python-packaging, python-pandas, python-scipy,
    python-typing-extensions, python-xarray, and python-xarray-einstats; add
    python-arviz-base, python-arviz-plots, and python-arviz-stats.
    [native-inputs]: Remove python-cloudpickle.
---
 gnu/packages/statistics.scm | 42 +++++++++---------------------------------
 1 file changed, 9 insertions(+), 33 deletions(-)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index fdb7a5b4a4..8861fdec77 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -98,6 +98,7 @@
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-build)
   #:use-module (gnu packages python-science)
+  #:use-module (gnu packages python-web)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages readline)
   #:use-module (gnu packages ruby-check)
@@ -322,7 +323,7 @@ be output in text, PostScript, PDF or HTML.")
 (define-public python-arviz
   (package
     (name "python-arviz")
-    (version "0.22.0")
+    (version "1.2.0")
     (source
      (origin
        (method git-fetch)
@@ -331,45 +332,20 @@ be output in text, PostScript, PDF or HTML.")
               (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "04l1zsr2m80avvrh73v34sp4p9fzakmgliszsww2wmv99cl5jdk7"))))
+        (base32 "071a00mlpxx5fffz98iknj2ifhagsw0h4amjgdyhck61hzv1rdm5"))))
     (build-system pyproject-build-system)
     (arguments
      (list
-      ;; tests: 3384 passed, 147 skipped, 10 deselected
       #:test-flags
-      #~(list "-k" (string-join
-                    ;; Network access is required.
-                    (list "not test_plot_ppc_transposed"
-                          "test_plot_separation[kwargs0]"
-                          "test_plot_separation[kwargs1]"
-                          "test_plot_separation[kwargs2]"
-                          "test_plot_separation[kwargs3]"
-                          "test_plot_separation[kwargs4]"
-                          "test_plot_trace_legend[False-False]"
-                          "test_plot_trace_legend[False-True]"
-                          "test_plot_trace_legend[True-False]"
-                          "test_plot_trace_legend[True-True]")
-                    " and not ")
-              "arviz/tests/base_tests/")
-           #:phases
-           #~(modify-phases %standard-phases
-               (add-before 'check 'pre-check
-                 (lambda _
-                   (setenv "HOME" "/tmp"))))))
+      ;; XXX: AssertionError: arviz_cetrino_template.
+      #~(list "--deselect=tests/test_namespace.py::test_aliases")))
     (native-inputs
-     (list python-cloudpickle
-           python-pytest
+     (list python-pytest
            python-setuptools))
     (propagated-inputs
-     (list python-h5netcdf
-           python-matplotlib
-           python-numpy
-           python-packaging
-           python-pandas
-           python-scipy
-           python-typing-extensions
-           python-xarray
-           python-xarray-einstats))
+     (list python-arviz-base
+           python-arviz-plots
+           python-arviz-stats))
     (home-page "https://github.com/arviz-devs/arviz";)
     (synopsis "Exploratory analysis of Bayesian models")
     (description

Reply via email to