guix-commits
[Top][All Lists]
Advanced

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

91/131: gnu: python-validictory: Do not set PYTHONPATH.


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

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

commit 3cc11f40d4a868a38f62971bdf63874b48d04663
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Jan 24 10:01:23 2021 -0500

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index cda2f33..d0cd17a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -14210,10 +14210,6 @@ is used by PostgreSQL and the OpenSSH Server for 
example.")
              (delete-file "tests/__init__.py")))
          (replace 'check
            (lambda _
-             ;; Extend PYTHONPATH so the built package will be found.
-             (setenv "PYTHONPATH"
-                     (string-append (getcwd) "/build/lib:"
-                                    (getenv "PYTHONPATH")))
              (invoke "py.test" "-vv" ))))))
     (native-inputs
      `(("python-pytest" ,python-pytest)))



reply via email to

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