From b995c1bd10e445cfdabadb1a5e30935729ce094c Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 6 Jun 2022 22:18:36 +0300 Subject: gnu: python-flake8: Allow building with newer python-pyflakes. * gnu/packages/python-xyz.scm (python-flake8)[source]: Add snippet to remove upper bound on dependency python-pyflakes version. --- gnu/packages/python-xyz.scm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'gnu/packages') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index feb211edb8..6132019a53 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -10200,7 +10200,14 @@ cyclomatic complexity of Python source code.") (uri (pypi-uri "flake8" version)) (sha256 (base32 - "0sspgh2ph7bb5fmf49mrdhi7n5m421kfkxk1n0vn4akgg20q6lh7")))) + "0sspgh2ph7bb5fmf49mrdhi7n5m421kfkxk1n0vn4akgg20q6lh7")) + (snippet + #~(begin + (use-modules (guix build utils)) + (substitute* "setup.cfg" + ;; Remove upper bound on pyflakes version. + (("(pyflakes >=.*), .*" _ pyflakes) + (string-append pyflakes "\n"))))))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases -- cgit v1.2.3