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

commit 99d36073b72216f9a6e45eaff7cdcedfc6f33a41
Author: Sharlatan Hellseher <sharlata...@gmail.com>
AuthorDate: Wed Mar 26 21:58:22 2025 +0000

    gnu: python-peaks2utr: Update to 1.4.1 and fix build.
    
    * gnu/packages/bioinformatics.scm (python-peaks2utr): Update to 1.4.1.
    [arguments] <test-flags>: Skip 2 more similar failing test.
    <phases>: Add 'relax-requirements.
    
    Change-Id: Ia26903116915c4ef031b4a6bdb5dae64d109a1f4
---
 gnu/packages/bioinformatics.scm | 18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 0695d81bad..30bdccb51e 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -3289,19 +3289,29 @@ encountered in PDB files prior to simulation tasks.")
 (define-public python-peaks2utr
   (package
     (name "python-peaks2utr")
-    (version "1.2.0")
+    (version "1.4.1")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "peaks2utr" version))
               (sha256
                (base32
-                "1idp9cgwqxvryf4qqrc1xjsamfqn3jmr56kmjp2h1ysmckwmhw4v"))))
+                "104il0kk61q07b58g9xrss7xflwlbx4kzsmw9iih99lhfsii0wzg"))))
     (build-system pyproject-build-system)
     (arguments
      (list
       #:test-flags
-      ;; These two tests fail because file names are not URLs.
-      '(list "-k" "not test_annotation.py")))
+      ;; These tests fail because file names are not URLs.
+      '(list "-k" (string-join
+                   (list "not test_forward_strand_annotations"
+                         "test_matching_chr"
+                         "test_reverse_strand_annotations")
+                   " and not "))
+      #:phases
+      '(modify-phases %standard-phases
+         (add-after 'unpack 'relax-requirements
+           (lambda _
+             (substitute* "setup.cfg"
+               (("==") ">=")))))))
     (propagated-inputs
      (list python-asgiref
            python-gffutils

Reply via email to