gnu: python-cooler: Do not use flake8.

* gnu/packages/bioinformatics.scm (python-cooler)[arguments]: Add build phase
'do-not-use-flake8.
This commit is contained in:
Ricardo Wurmus 2022-09-21 22:16:28 +02:00
parent 97e7195930
commit cd5bbb9b42
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC

@ -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"