guix-commits
[Top][All Lists]
Advanced

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

162/163: gnu: python-webassets: Do not set PYTHONPATH.


From: guix-commits
Subject: 162/163: gnu: python-webassets: 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 4a4fde27e9cdef2c5e9a0b6262bbb3bd958155e4
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 f38d8f3..aedd124 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]