diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2022-09-21 22:16:28 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2022-09-21 22:19:33 +0200 |
commit | cd5bbb9b4227a29bc954db7de2e8d76b9d24bd67 (patch) | |
tree | 9e057010ed6867be6d2d421fd6bb504baf1045d6 | |
parent | 97e719593045f5541d062aece1a25379be56d24d (diff) | |
download | guix-cd5bbb9b4227a29bc954db7de2e8d76b9d24bd67.tar guix-cd5bbb9b4227a29bc954db7de2e8d76b9d24bd67.tar.gz |
gnu: python-cooler: Do not use flake8.
* gnu/packages/bioinformatics.scm (python-cooler)[arguments]: Add build phase
'do-not-use-flake8.
-rw-r--r-- | gnu/packages/bioinformatics.scm | 6 |
1 files changed, 6 insertions, 0 deletions
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" |