guix-commits
[Top][All Lists]
Advanced

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

157/163: gnu: python-cfn-lint: Do not set PYTHONPATH.


From: guix-commits
Subject: 157/163: gnu: python-cfn-lint: Do not set PYTHONPATH.
Date: Mon, 25 Jan 2021 02:02:04 -0500 (EST)

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

commit 8b84707e25509ff24ed3408cbbb5a11909c406b5
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Jan 24 14:18:11 2021 -0500

    gnu: python-cfn-lint: Do not set PYTHONPATH.
    
    * gnu/packages/python-web.scm (python-cfn-lint)
    [phases]{check}: Do not set PATH nor PYTHONPATH.
---
 gnu/packages/python-web.scm | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 46f36a5..4d999ba 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -407,11 +407,6 @@ emit information from within their applications to the AWS 
X-Ray service.")
                         ;; to avoid a dependency on 'git'.
                         (delete-file
                          
"test/unit/module/maintenance/test_update_documentation.py")
-                        (setenv "PYTHONPATH"
-                                (string-append "./build/lib:"
-                                               (getenv "PYTHONPATH")))
-                        (setenv "PATH" (string-append out "/bin:"
-                                                      (getenv "PATH")))
                         (invoke "python" "-m" "unittest" "discover"
                                 "-s" "test")))))))
     (native-inputs



reply via email to

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