guix-commits
[Top][All Lists]
Advanced

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

146/163: gnu: python-validictory: Do not set PYTHONPATH.


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

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

commit bc67c0f4bdfc719e5c211d3609ae70ed0a713adb
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 801a324..37687b6 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -14194,10 +14194,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]