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

commit d02e26b15e06faf8b41cec46f11b62777658e546
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Fri Jan 2 21:01:18 2026 +0000

    gnu: python-cnmf: Update to 1.7.0.
    
    * gnu/packages/bioinformatics.scm (python-cnmf): Update to 1.7.0.
    [arguments] <tests?, test-flags>: Enable them.
    [native-inputs]: Remove python-wheel; add python-pytest.
    
    Change-Id: I927b10045e563cc81bcb077f3af9ba3312869280
---
 gnu/packages/bioinformatics.scm | 18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index ebb247582a..fb57089ecf 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -2619,17 +2619,25 @@ and sequence consensus.")
 (define-public python-cnmf
   (package
     (name "python-cnmf")
-    (version "1.6.0")
+    (version "1.7.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "cnmf" version))
        (sha256
-        (base32 "0aic8cwj6riykcfgl6v2x3si5z04gaknkh5a8lcyv1qh4s1gx3d3"))))
+        (base32 "1v2d7gsxy57rg26wjx4sz2fqk8ggkp3ds0s1g54cm8z8aac6qhxz"))))
     (build-system pyproject-build-system)
     (arguments
      (list
-      #:tests? #f ; no tests in git checkout and PyPI archive
+      ;; tests: 36 passed, 2 deselected, 19 warnings
+      #:test-flags
+      ;; XXX: Tests data is downloaded sepratly, see download_pytest_data.py.
+      #~(list #$@(map (lambda (test) (string-append "--deselect="
+                                                    "tests/"
+                                                    "test_reproducibility.py::"
+                                                    test))
+                      (list"test_cnmf_end_to_end[dataset_config0]"
+                           "test_cnmf_end_to_end[dataset_config1]")))
       #:phases
       #~(modify-phases %standard-phases
           (add-after 'unpack 'set-envs
@@ -2638,8 +2646,8 @@ and sequence consensus.")
               ;; Numba needs a writable dir to cache functions.
               (setenv "NUMBA_CACHE_DIR" "/tmp"))))))
     (native-inputs
-     (list python-setuptools
-           python-wheel))
+     (list python-pytest
+           python-setuptools))
     (propagated-inputs
      (list python-anndata
            python-fastcluster

Reply via email to