lbraun pushed a commit to branch master
in repository guix.
commit dd05a93743bef6bb946d03cd0c665e3b1d62a116
Author: Vinicius Monego <[email protected]>
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