1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-10 07:00:37 +02:00

gnu: python-colorlog: Do not set PYTHONPATH.

* gnu/packages/python-xyz.scm (python-colorlog)
[phases]{check}: Do not set PYTHONPATH.
This commit is contained in:
Maxim Cournoyer
2021-01-24 00:30:24 -05:00
parent 141a90ea2c
commit 7f081f43ed

View File

@@ -334,12 +334,7 @@ implementation for the Telegram Bot API.")
`(#:phases (modify-phases %standard-phases
(replace 'check
(lambda _
;; Extend PYTHONPATH so the built package will be found.
(setenv "PYTHONPATH"
(string-append (getcwd) "/build/lib:"
(getenv "PYTHONPATH")))
(invoke "pytest" "-p" "no:logging")
#t)))))
(invoke "pytest" "-p" "no:logging"))))))
(home-page "https://github.com/borntyping/python-colorlog")
(synopsis "Log formatting with colors for python")
(description "The @code{colorlog.ColoredFormatter} is a formatter for use