[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: python-verboselogs: Fix build.
From: |
guix-commits |
Subject: |
01/01: gnu: python-verboselogs: Fix build. |
Date: |
Sat, 19 Oct 2019 16:50:07 -0400 (EDT) |
mothacehe pushed a commit to branch master
in repository guix.
commit 1760c970639d898e3ddec4185119a9bda8b663a6
Author: Mathieu Othacehe <address@hidden>
Date: Sat Oct 19 22:46:44 2019 +0200
gnu: python-verboselogs: Fix build.
* gnu/packages/python-xyz.scm (python-verboselogs)[arguments]: Do not run
pylint plugin test that depend of an old version of astroid and also remove
...,
[native-inputs]: ... python-astroid and python-pylint from here.
---
gnu/packages/python-xyz.scm | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0c1479d..e81a6b8 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -910,10 +910,18 @@ some helpful Python 2 compatibility convenience methods.")
(base32
"09z4d1jiasn7k1hs5af2ckmnrd0i1d1m04bhfjhv7z6svzfdwgg3"))))
(build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ ;; Do not run pylint plugin test, as astroid is an old
+ ;; unsupported version.
+ (invoke "pytest" "-v" "-k" "not test_pylint_plugin"
+ "verboselogs/tests.py"))))))
(native-inputs
`(("python-mock" ,python-mock)
- ("python-astroid" ,python-astroid)
- ("python-pylint" ,python-pylint)))
+ ("python-pytest" ,python-pytest)))
(home-page "https://verboselogs.readthedocs.io")
(synopsis "Verbose logging level for Python's logging module")
(description