From dd05a93743bef6bb946d03cd0c665e3b1d62a116 Mon Sep 17 00:00:00 2001 From: Vinicius Monego Date: Tue, 20 Apr 2021 05:22:45 +0000 Subject: 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(+) (limited to 'gnu') 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 -- cgit 1.4.1