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

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

    gnu: python-magic-impute: Update to 3.0.0.
    
    * gnu/packages/bioinformatics.scm (python-magic-impute): Update to 3.0.0.
    [arguments] <tests?, test-flags>: Enable them.
    [native-inputs]: Add python-pytest and python-setuptools.
    [propagated-inputs]: Add python-scprep.
    
    Change-Id: I4e1567fc6b5b32ee77f13d801042ea321f33dfa8
---
 gnu/packages/bioinformatics.scm | 21 +++++++++++++--------
 1 file changed, 13 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 7273ce966d..385da56adf 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -3195,25 +3195,29 @@ fraction of valid symbols in that position.")
 (define-public python-magic-impute
   (package
     (name "python-magic-impute")
-    (version "1.2.1")
+    (version "3.0.0")
     (source
      (origin
        (method git-fetch)
        (uri (git-reference
-             (url "https://github.com/KrishnaswamyLab/MAGIC";)
-             (commit (string-append "v" version))))
+              (url "https://github.com/KrishnaswamyLab/MAGIC";)
+              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
         (base32
-         "1yjs16vg87lcg9g16bnblg1v9sk73j6dm229lkcz0bfjlzxjhv8w"))))
+         "1f4ckvpki2461xd5hclhj7gqwj8xizs4d0fd942kvgafidrsdvlx"))))
     (build-system pyproject-build-system)
     (arguments
      (list
-      #:tests? #false ;there are none
+      #:test-flags
+      #~(list "test/test.py")
       #:phases
-      '(modify-phases %standard-phases
-         (add-after 'unpack 'chdir
-           (lambda _ (chdir "python"))))))
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'chdir
+            (lambda _ (chdir "python"))))))
+    (native-inputs
+     (list python-pytest
+           python-setuptools))
     (propagated-inputs
      (list python-future
            python-graphtools
@@ -3222,6 +3226,7 @@ fraction of valid symbols in that position.")
            python-pandas
            python-scikit-learn
            python-scipy
+           python-scprep
            python-tasklogger))
     (home-page "https://github.com/KrishnaswamyLab/MAGIC";)
     (synopsis "Markov affinity-based graph imputation of cells")

Reply via email to