apteryx pushed a commit to branch cu/farewell-to-pythonpath in repository guix.
commit 86368ae78c3c57aeb1a6b1f1dafcb7da03134298 Author: Maxim Cournoyer <[email protected]> AuthorDate: Sun Jan 24 00:36:04 2021 -0500 gnu: python-click: Do not set PYTHONPATH. * gnu/packages/python-xyz.scm (python-click) [phases]{check}: Do not set PYTHONPATH. --- gnu/packages/python-xyz.scm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 738ec8a..9007362 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -2653,11 +2653,9 @@ interfaces.") "cross-libc" "libc")))) (substitute* "src/click/_unicodefun.py" (("'locale'") - (string-append "'" glibc "/bin/locale'")))) - #t)) + (string-append "'" glibc "/bin/locale'")))))) (replace 'check (lambda _ - (setenv "PYTHONPATH" (string-append "./src:" (getenv "PYTHONPATH"))) (invoke "python" "-m" "pytest")))))) (native-inputs `(("python-pytest" ,python-pytest)))
