guix-commits
[Top][All Lists]
Advanced

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

102/131: gnu: python-cfn-lint: Do not set PYTHONPATH.


From: guix-commits
Subject: 102/131: gnu: python-cfn-lint: Do not set PYTHONPATH.
Date: Fri, 29 Jan 2021 09:22:14 -0500 (EST)

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

commit aefe3a05afcd28044cd90e6435116d0713da4582
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 7f2b224..f6789ea 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]