guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

56/131: gnu: python-fenics-ufl: Do not alter PYTHONPATH.


From: guix-commits
Subject: 56/131: gnu: python-fenics-ufl: Do not alter PYTHONPATH.
Date: Fri, 29 Jan 2021 09:21:58 -0500 (EST)

apteryx pushed a commit to branch cu/farewell-to-pythonpath
in repository guix.

commit 30fcaaec4f08c6aac41b158f605d25cc21d409ac
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]