[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/13: gnu: python-language-server: Enable tests.
From: |
guix-commits |
Subject: |
06/13: gnu: python-language-server: Enable tests. |
Date: |
Sat, 8 May 2021 05:28:53 -0400 (EDT) |
lbraun pushed a commit to branch master
in repository guix.
commit 4907d70898fe94233e7f27284d5a2432a739653b
Author: Vinicius Monego <monego@posteo.net>
AuthorDate: Tue Apr 20 05:22:35 2021 +0000
gnu: python-language-server: Enable tests.
* gnu/packages/python-xyz.scm (python-language-server): Enable tests.
[arguments]: Add phases to enable tests.
[propagated-inputs]: Add python-flake8.
---
gnu/packages/python-xyz.scm | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 07d43d0..ca27e45 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -4510,10 +4510,21 @@ Server (PLS).")
(base32
"1c0pnk2aibfhfaanrs0a5gkabkvz81gj20z7r0152b7fcx5ci14r"))))
(build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before 'check 'set-HOME
+ (lambda _ (setenv "HOME" "/tmp") #t))
+ (replace 'check
+ (lambda _
+ ;; Disable failing test.
+ (invoke "python" "-m" "pytest" "-k"
+ "not test_pyqt_completion"))))))
(propagated-inputs
`(("python-autopep8" ,python-autopep8)
("python-configparser" ,python-configparser)
("python-pydocstyle" ,python-pydocstyle)
+ ("python-flake8" ,python-flake8)
("python-future" ,python-future)
("python-jedi" ,python-jedi)
("python-jsonrpc-server" ,python-jsonrpc-server)
- branch master updated (a9a67da -> dd05a93), guix-commits, 2021/05/08
- 01/13: gnu: Add python-textdistance., guix-commits, 2021/05/08
- 02/13: gnu: Add python-three-merge., guix-commits, 2021/05/08
- 03/13: gnu: Add python-pyls-black., guix-commits, 2021/05/08
- 04/13: gnu: Add python-tinycss., guix-commits, 2021/05/08
- 05/13: gnu: Add python-qstylizer., guix-commits, 2021/05/08
- 08/13: gnu: Add python-qtsass., guix-commits, 2021/05/08
- 07/13: gnu: Add python-pytest-qt., guix-commits, 2021/05/08
- 10/13: gnu: Add python-entrypoint2., guix-commits, 2021/05/08
- 11/13: gnu: Add python-pyvirtualdisplay., guix-commits, 2021/05/08
- 06/13: gnu: python-language-server: Enable tests.,
guix-commits <=
- 12/13: gnu: Add python-pytest-xvfb., guix-commits, 2021/05/08
- 13/13: gnu: python-language-server: Relax dependency versions., guix-commits, 2021/05/08
- 09/13: gnu: Add python-easyprocess., guix-commits, 2021/05/08