guix-commits
[Top][All Lists]
Advanced

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

29/131: gnu: python-loompy: Do not set PYTHONPATH.


From: guix-commits
Subject: 29/131: gnu: python-loompy: Do not set PYTHONPATH.
Date: Fri, 29 Jan 2021 09:21:50 -0500 (EST)

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

commit 8ff0c04fd3819aeeac04f919a966fb1bd34cba7f
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 309a72b..61c492d 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -11643,11 +11643,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]