guix-commits
[Top][All Lists]
Advanced

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

105/131: gnu: python-flask: Do not set PYTHONPATH.


From: guix-commits
Subject: 105/131: gnu: python-flask: Do not set PYTHONPATH.
Date: Mon, 1 Feb 2021 11:57:01 -0500 (EST)

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

commit 24ea5a70d08fc6f9f5421640fbc97d0f7d9bbc2a
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Jan 24 14:20:48 2021 -0500

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

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 1eb14e8..23ea2ed 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2841,8 +2841,6 @@ minimum of WSGI.")
        (modify-phases %standard-phases
          (replace 'check
            (lambda _
-             (setenv "PYTHONPATH" (string-append "./build/lib:"
-                                                 (getenv "PYTHONPATH")))
              (invoke "pytest" "-vv" "tests"))))))
     (native-inputs
      `(("python-pytest" ,python-pytest)))



reply via email to

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