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

commit 7210246409b992a6b1b98ae77c55f9acc7f53d94
Author: Maxim Cournoyer <[email protected]>
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