guix-commits
[Top][All Lists]
Advanced

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

71/131: gnu: python-hdf4: Do not set PYTHONPATH.


From: guix-commits
Subject: 71/131: gnu: python-hdf4: Do not set PYTHONPATH.
Date: Fri, 29 Jan 2021 09:22:03 -0500 (EST)

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

commit 43eed026c8f2ee58c706fe280f643c0eaea19dc0
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Jan 24 00:32:19 2021 -0500

    gnu: python-hdf4: Do not set PYTHONPATH.
    
    * gnu/packages/python-xyz.scm (python-hdf4)
    [phases]{check}: Do not set PYTHONPATH.
---
 gnu/packages/python-xyz.scm | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index bf5ffc7..17e688d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -805,14 +805,6 @@ Expressions are constructed from parsed strings or 
directly in Python.")
       (modify-phases %standard-phases
         (replace 'check
           (lambda _
-            ;; The 'runexamples' script sets PYTHONPATH to CWD, then goes
-            ;; on to import numpy. Somehow this works on their CI system.
-            ;; Let's just manage PYTHONPATH here instead.
-            (substitute* "runexamples.sh"
-              (("export PYTHONPATH=.*") ""))
-            (setenv "PYTHONPATH"
-                    (string-append (getcwd) ":"
-                                   (getenv "PYTHONPATH")))
             (invoke "./runexamples.sh")
             (invoke "nosetests" "-v"))))))
    (home-page "https://github.com/fhs/python-hdf4";)



reply via email to

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