guix-commits
[Top][All Lists]
Advanced

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

25/163: gnu: python-loompy: Do not set PYTHONPATH.


From: guix-commits
Subject: 25/163: gnu: python-loompy: Do not set PYTHONPATH.
Date: Mon, 25 Jan 2021 02:01:20 -0500 (EST)

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

commit 92c57824ec25ce125d218a6325ce3c0e7a8ab020
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Jan 22 16:44:51 2021 -0500

    gnu: python-loompy: Do not set PYTHONPATH.
    
    * gnu/packages/bioinformatics.scm (python-loompy)
    [phases]{check}: Do not set PYTHONPATH.
---
 gnu/packages/bioinformatics.scm | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 1d2e0ef..62529dd 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -11651,11 +11651,7 @@ variational inference.")
        (modify-phases %standard-phases
          (replace 'check
            (lambda _
-             (setenv "PYTHONPATH"
-                     (string-append (getcwd) ":"
-                                    (getenv "PYTHONPATH")))
-             (invoke "pytest" "tests")
-             #t)))))
+             (invoke "pytest" "tests"))))))
     (propagated-inputs
      `(("python-h5py" ,python-h5py)
        ("python-numpy" ,python-numpy)



reply via email to

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