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: Mon, 1 Feb 2021 11:56:55 -0500 (EST)

apteryx pushed a commit to branch core-updates
in repository guix.

commit d42a0f10e750905adf49bc03cde8c20e59636afd
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 b543281..c4d5607 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]