guix-commits
[Top][All Lists]
Advanced

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

85/131: gnu: python-tblib: Do not set PYTHONPATH.


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

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

commit 882da92f94abfd0b4f70f9dec77d964e85c796b0
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 9914d77..7158cf5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -12311,12 +12311,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]