guix-commits
[Top][All Lists]
Advanced

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

88/163: gnu: python-fenics-ufl: Do not alter PYTHONPATH.


From: guix-commits
Subject: 88/163: gnu: python-fenics-ufl: Do not alter PYTHONPATH.
Date: Mon, 25 Jan 2021 02:01:39 -0500 (EST)

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

commit 4e513b637de918fa300275145b83975cc6b8ff5a
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]