apteryx pushed a commit to branch cu/farewell-to-pythonpath in repository guix.
commit 3cc11f40d4a868a38f62971bdf63874b48d04663 Author: Maxim Cournoyer <[email protected]> AuthorDate: Sun Jan 24 10:01:23 2021 -0500 gnu: python-validictory: Do not set PYTHONPATH. * gnu/packages/python-xyz.scm (python-validictory) [phases]{check}: Do not set PYTHONPATH. --- gnu/packages/python-xyz.scm | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index cda2f33..d0cd17a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -14210,10 +14210,6 @@ is used by PostgreSQL and the OpenSSH Server for example.") (delete-file "tests/__init__.py"))) (replace 'check (lambda _ - ;; Extend PYTHONPATH so the built package will be found. - (setenv "PYTHONPATH" - (string-append (getcwd) "/build/lib:" - (getenv "PYTHONPATH"))) (invoke "py.test" "-vv" )))))) (native-inputs `(("python-pytest" ,python-pytest)))
