guix-commits
[Top][All Lists]
Advanced

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

13/13: gnu: python-language-server: Relax dependency versions.


From: guix-commits
Subject: 13/13: gnu: python-language-server: Relax dependency versions.
Date: Sat, 8 May 2021 05:28:56 -0400 (EDT)

lbraun pushed a commit to branch master
in repository guix.

commit dd05a93743bef6bb946d03cd0c665e3b1d62a116
Author: Vinicius Monego <monego@posteo.net>
AuthorDate: Tue Apr 20 05:22:45 2021 +0000

    gnu: python-language-server: Relax dependency versions.
    
    * gnu/packages/python-xyz.scm (python-language-server)[arguments]: Add phase
    to relax pycodestyle and pyflakes version.
---
 gnu/packages/python-xyz.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 542abf6..d86a623 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -4513,6 +4513,12 @@ Server (PLS).")
     (arguments
      `(#:phases
        (modify-phases %standard-phases
+         (add-after 'unpack 'relax-deps
+           (lambda _
+             (substitute* "setup.py" (("pycodestyle>=2.6.0,<2.7.0")
+                                      "pycodestyle"))
+             (substitute* "setup.py" (("pyflakes>=2.2.0,<2.3.0") "pyflakes"))
+             #t))
          (add-before 'check 'set-HOME
            (lambda _ (setenv "HOME" "/tmp") #t))
          (replace 'check



reply via email to

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