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

* gnu/packages/python-xyz.scm (python-language-server)[arguments]: Add phase
to relax pycodestyle and pyflakes version.
This commit is contained in:
Vinicius Monego 2021-04-20 05:22:45 +00:00 committed by Lars-Dominik Braun
parent 768732eb2f
commit dd05a93743
No known key found for this signature in database
GPG Key ID: F663943E08D8092A

@ -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