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: Mon, 1 Feb 2021 11:56:43 -0500 (EST)

apteryx pushed a commit to branch core-updates
in repository guix.

commit 283d5ac97f2f7663b788bd2fc3b9a27a3d82c7d5
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]