guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: python-flake8: Allow building with newer pyt


From: guix-commits
Subject: branch master updated: gnu: python-flake8: Allow building with newer python-pyflakes.
Date: Mon, 06 Jun 2022 15:23:51 -0400

This is an automated email from the git hooks/post-receive script.

efraim pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new b995c1bd10 gnu: python-flake8: Allow building with newer 
python-pyflakes.
b995c1bd10 is described below

commit b995c1bd10e445cfdabadb1a5e30935729ce094c
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Jun 6 22:18:36 2022 +0300

    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(-)

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



reply via email to

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