guix-commits
[Top][All Lists]
Advanced

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

140/163: gnu: python-tblib: Do not set PYTHONPATH.


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

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

commit 77e86c9fa8fb2ce958d03d4832074c4ae8a18ef8
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Jan 24 09:41:04 2021 -0500

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index fcfcf8f..9c34712 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -12302,12 +12302,6 @@ module in Python 3.5 and later.")
        (modify-phases %standard-phases
          (replace 'check
            (lambda _
-             ;; Upstream runs tests after installation and the package itself
-             ;; resides in a subdirectory. Extend PYTHONPATH so it will be
-             ;; found.
-             (setenv "PYTHONPATH"
-                     (string-append (getcwd) "/build/lib:"
-                                    (getenv "PYTHONPATH")))
              (invoke "py.test" "-vv" "tests" "README.rst"))))))
     (native-inputs
      `(("python-pytest" ,python-pytest)



reply via email to

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