mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
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:
parent
768732eb2f
commit
dd05a93743
1 changed files with 6 additions and 0 deletions
|
@ -4513,6 +4513,12 @@ (define-public python-language-server
|
|||
(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
|
||||
|
|
Loading…
Reference in a new issue