guix-commits
[Top][All Lists]
Advanced

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

107/131: gnu: python-webassets: Do not set PYTHONPATH.


From: guix-commits
Subject: 107/131: gnu: python-webassets: Do not set PYTHONPATH.
Date: Fri, 29 Jan 2021 09:22:15 -0500 (EST)

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

commit 7f541bfffa56ad03fb6e705c1a7f86963f305d40
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Jan 24 14:22:46 2021 -0500

    gnu: python-webassets: Do not set PYTHONPATH.
    
    * gnu/packages/python-web.scm (python-webassets)
    [phases]: Delete trailing #t.
    {check}: Do not set PYTHONPATH.
---
 gnu/packages/python-web.scm | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 980b0b3..65f61ac 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3645,13 +3645,9 @@ for Flask.")
                     (lambda _
                       ;; This test requires 'postcss' and 'babel' which are
                       ;; not yet available in Guix.
-                      (delete-file "tests/test_filters.py")
-                      #t))
+                      (delete-file "tests/test_filters.py")))
                   (replace 'check
                     (lambda _
-                      (setenv "PYTHONPATH"
-                              (string-append "./build/lib:"
-                                             (getenv "PYTHONPATH")))
                       (invoke "pytest" "-vv"))))))
     (native-inputs
      `(("python-jinja2" ,python-jinja2)



reply via email to

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