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

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

commit 65add29c0a3cd05fd44c9c4dcdcc88f5115b8471
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]