guix-commits
[Top][All Lists]
Advanced

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

160/163: gnu: python-flask: Do not set PYTHONPATH.


From: guix-commits
Subject: 160/163: gnu: python-flask: Do not set PYTHONPATH.
Date: Mon, 25 Jan 2021 02:02:05 -0500 (EST)

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

commit dab38510c42dea54ad1c992b1d2866017aa61b7e
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 9eeaf65..3fe8e48 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]