apteryx pushed a commit to branch cu/farewell-to-pythonpath in repository guix.
commit 882da92f94abfd0b4f70f9dec77d964e85c796b0 Author: Maxim Cournoyer <[email protected]> AuthorDate: Sun Jan 24 09:41:04 2021 -0500 gnu: python-tblib: Do not set PYTHONPATH. * gnu/packages/python-xyz.scm (python-tblib) [phases]{check}: Do not set PYTHONPATH. --- gnu/packages/python-xyz.scm | 6 ------ 1 file changed, 6 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 9914d77..7158cf5 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -12311,12 +12311,6 @@ module in Python 3.5 and later.") (modify-phases %standard-phases (replace 'check (lambda _ - ;; Upstream runs tests after installation and the package itself - ;; resides in a subdirectory. Extend PYTHONPATH so it will be - ;; found. - (setenv "PYTHONPATH" - (string-append (getcwd) "/build/lib:" - (getenv "PYTHONPATH"))) (invoke "py.test" "-vv" "tests" "README.rst")))))) (native-inputs `(("python-pytest" ,python-pytest)
