guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: gnu: python-cooler: Do not use flake8.


From: guix-commits
Subject: 01/02: gnu: python-cooler: Do not use flake8.
Date: Wed, 21 Sep 2022 16:20:54 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit cd5bbb9b4227a29bc954db7de2e8d76b9d24bd67
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Sep 21 22:16:28 2022 +0200

    gnu: python-cooler: Do not use flake8.
    
    * gnu/packages/bioinformatics.scm (python-cooler)[arguments]: Add build 
phase
    'do-not-use-flake8.
---
 gnu/packages/bioinformatics.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 58666cd666..fb4d93769e 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -12736,6 +12736,12 @@ fasta subsequences.")
              (substitute* '("requirements.txt"
                             "cooler.egg-info/requires.txt")
                (("cytoolz.*<.*0.11") "cytoolz"))))
+         ;; This version of flake8 just won't work with this version of
+         ;; pytest, because of dependency pinning.
+         (add-after 'unpack 'do-not-use-flake8
+           (lambda _
+             (substitute* "setup.cfg"
+               (("addopts = --flake8") "addopts = "))))
          (add-after 'unpack 'patch-tests
            (lambda _
              (substitute* "tests/test_create.py"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]