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

commit f585edcc5c47ae8b6734ef9da46f68fe5c4df1c0
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Fri Jan 2 15:25:36 2026 +0000

    gnu: python-pygsp: Update to 0.6.0.
    
    * gnu/packages/graph.scm (python-pygsp): Update to 0.6.0.
    [source] <pypi-uri>: Fix name.
    [arguments] <test-flags>: Rework skipped tests.
    <phases>: Remove 'disable-doctets.
    [propagated-inputs]: Remove python-scikit-image.
    [native-inputs]: Remove python-coverage, python-coveralls, and
    python-flake8; add python-matplotlib, python-pyunlocbox,
    python-scikit-image, and python-setuptools.
    
    Change-Id: Ic2ef43e47967897e2d7df7e628a8d02ff7684360
---
 gnu/packages/graph.scm | 39 ++++++++++++++++++---------------------
 1 file changed, 18 insertions(+), 21 deletions(-)

diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm
index 7479bc3c43..44cc0a6751 100644
--- a/gnu/packages/graph.scm
+++ b/gnu/packages/graph.scm
@@ -437,36 +437,33 @@ algorithm for a number of different methods.")
 (define-public python-pygsp
   (package
     (name "python-pygsp")
-    (version "0.5.1")
+    (version "0.6.0")
     (source
      (origin
        (method url-fetch)
-       (uri (pypi-uri "PyGSP" version))
+       (uri (pypi-uri "pygsp" version))
        (sha256
-        (base32 "002q4z3p3ka81rzhgi66qqmz1ccrg9hwch4bax7jsqixg64asx28"))))
+        (base32 "0zbyka8pvcy7rmw65cpkss2k6sn420k67wcrcp8nka36l9pjadam"))))
     (build-system pyproject-build-system)
     (arguments
      (list
+      ;; tests: 97 passed, 6 skipped, 3 deselected, 10 warnings
       #:test-flags
-      ;; These all fail due to a type error in scipy.
-      '(list "-k" (string-append "not test_bunny"
-                                 " and not test_lowstretchtree"
-                                 " and not test_nngraph"
-                                 " and not test_plot_graphs"
-                                 " and not test_randomregular"))
-      #:phases
-      '(modify-phases %standard-phases
-         (add-after 'unpack 'disable-doctests
-           (lambda _
-             (substitute* "pygsp/tests/test_all.py"
-               (("def test_docstrings.*") "def _disabled_test_docstrings():\n")
-               (("return doctest.DocFileSuite.*") "return False\n")
-               (("suites.append\\(test_docstrings.*")
-                "")))))))
-    (propagated-inputs (list python-numpy python-scikit-image python-scipy))
+      ;; Not equal to tolerance rtol=1e-07, atol=1e-12
+      #~(list "--deselect=pygsp/tests/test_graphs.py::test_eigendecompositions"
+              ;; ValueError: Only p-norms with 1<=p<=infinity permitted
+              "--deselect=pygsp/tests/test_graphs.py::test_nngraph"
+              ;; This test needs pyqtgraph and PyQt6.
+              
"--deselect=pygsp/tests/test_plotting.py::TestGraphs::test_all_graphs")))
     (native-inputs
-     (list python-coverage python-coveralls python-flake8
-           python-pytest))
+     (list python-matplotlib
+           python-pytest
+           python-pyunlocbox
+           python-scikit-image
+           python-setuptools))
+    (propagated-inputs
+     (list python-numpy
+           python-scipy))
     (home-page "https://github.com/epfl-lts2/pygsp";)
     (synopsis "Graph Signal Processing in Python")
     (description "The PyGSP is a Python package to ease signal processing on

Reply via email to