guix-commits
[Top][All Lists]
Advanced

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

44/131: gnu: python-django-sortedm2m: Do not alter PYTHONPATH.


From: guix-commits
Subject: 44/131: gnu: python-django-sortedm2m: Do not alter PYTHONPATH.
Date: Fri, 29 Jan 2021 09:21:54 -0500 (EST)

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

commit 0b68e976eaef12b531af624f9d219b4492bf9eff
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sat Jan 23 00:27:48 2021 -0500

    gnu: python-django-sortedm2m: Do not alter PYTHONPATH.
    
    * gnu/packages/django.scm (python-django-sortedm2m)
    [phases]{check}: Do not alter PYTHONPATH.  Remove trailing #t.
---
 gnu/packages/django.scm | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 6feca05..d404b64 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -875,10 +875,8 @@ using Python multiprocessing.")
      `(#:phases (modify-phases %standard-phases
                   (replace 'check
                     (lambda _
-                      (setenv "PYTHONPATH" (string-append "./test_project:"
-                                                          "./build/lib:.:"
-                                                          (getenv 
"PYTHONPATH")))
-                      (invoke "django-admin.py" "test" 
"--settings=settings"))))))
+                      (invoke "python" "django-admin.py"
+                              "test" "--settings=settings"))))))
     (native-inputs
      `(("python-django" ,python-django)))
     (home-page "https://github.com/jazzband/django-sortedm2m";)



reply via email to

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