summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorVinicius Monego <monego@posteo.net>2021-04-20 05:22:45 +0000
committerLars-Dominik Braun <lars@6xq.net>2021-05-08 11:27:50 +0200
commitdd05a93743bef6bb946d03cd0c665e3b1d62a116 (patch)
treec2e802e898bdbe4ee3babdba868eec57a7b1398b /gnu
parent768732eb2f193868f6114e9f4f6cc0b1a8c84411 (diff)
downloadguix-dd05a93743bef6bb946d03cd0c665e3b1d62a116.tar.gz
gnu: python-language-server: Relax dependency versions.
* gnu/packages/python-xyz.scm (python-language-server)[arguments]: Add phase
to relax pycodestyle and pyflakes version.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-xyz.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 542abf6dde..d86a6237bb 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