apteryx pushed a commit to branch cu/farewell-to-pythonpath in repository guix.
commit 30fcaaec4f08c6aac41b158f605d25cc21d409ac Author: Maxim Cournoyer <[email protected]> AuthorDate: Sat Jan 23 23:00:36 2021 -0500 gnu: python-fenics-ufl: Do not alter PYTHONPATH. * gnu/packages/simulation.scm (python-fenics-ufl) [phases]{check}: Do not alter PYTHONPATH. --- gnu/packages/simulation.scm | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm index 4a216d0..f78237a 100644 --- a/gnu/packages/simulation.scm +++ b/gnu/packages/simulation.scm @@ -310,11 +310,7 @@ the complexity of that interface. Parallel support depends on the (modify-phases %standard-phases (replace 'check (lambda _ - (setenv "PYTHONPATH" - (string-append (getcwd) ":" (getenv "PYTHONPATH"))) - (with-directory-excursion "test" - (invoke "py.test")) - #t))))) + (invoke "py.test" "test")))))) (home-page "https://bitbucket.org/fenics-project/ufl/") (synopsis "Unified language for form-compilers") (description "The Unified Form Language (UFL) is a domain specific
