mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-27 04:59:27 -05:00
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.
This commit is contained in:
parent
6862c03808
commit
1760c97063
1 changed files with 10 additions and 2 deletions
|
@ -910,10 +910,18 @@ (define-public python-verboselogs
|
||||||
(base32
|
(base32
|
||||||
"09z4d1jiasn7k1hs5af2ckmnrd0i1d1m04bhfjhv7z6svzfdwgg3"))))
|
"09z4d1jiasn7k1hs5af2ckmnrd0i1d1m04bhfjhv7z6svzfdwgg3"))))
|
||||||
(build-system python-build-system)
|
(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
|
(native-inputs
|
||||||
`(("python-mock" ,python-mock)
|
`(("python-mock" ,python-mock)
|
||||||
("python-astroid" ,python-astroid)
|
("python-pytest" ,python-pytest)))
|
||||||
("python-pylint" ,python-pylint)))
|
|
||||||
(home-page "https://verboselogs.readthedocs.io")
|
(home-page "https://verboselogs.readthedocs.io")
|
||||||
(synopsis "Verbose logging level for Python's logging module")
|
(synopsis "Verbose logging level for Python's logging module")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in a new issue