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: Mon, 1 Feb 2021 11:56:47 -0500 (EST)

apteryx pushed a commit to branch core-updates
in repository guix.

commit 10bee15c8209b762c336d8632df3f890f048e5c3
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]