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

commit 78e520f81601e7d770531ec40e877b0b907b34cb
Author: Maxim Cournoyer <[email protected]>
AuthorDate: Sun Jan 24 14:21:34 2021 -0500

    gnu: python-flask-wtf: Do not set PYTHONPATH.
    
    * gnu/packages/python-web.scm (python-flask-wtf)
    [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 23ea2ed..980b0b3 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2876,8 +2876,6 @@ presume or force a developer to use a particular tool or 
library.")
        (modify-phases %standard-phases
          (replace 'check
            (lambda _
-             (setenv "PYTHONPATH" (string-append "./build/lib:"
-                                                 (getenv "PYTHONPATH")))
              (invoke "pytest" "-vv"))))))
     (propagated-inputs
      `(("python-flask-babel" ,python-flask-babel)

Reply via email to