guix-commits
[Top][All Lists]
Advanced

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

45/131: gnu: python-django-appconf: Do not alter PYTHONPATH.


From: guix-commits
Subject: 45/131: gnu: python-django-appconf: 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 ba52fcd95f267195f36eb1fbc699472dfffe9b3e
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sat Jan 23 00:29:08 2021 -0500

    gnu: python-django-appconf: Do not alter PYTHONPATH.
    
    * gnu/packages/django.scm (python-django-appconf)
    [phases]{check}: Do not alter PYTHONPATH.
---
 gnu/packages/django.scm | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index d404b64..f25dd20 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -902,10 +902,8 @@ the order of added relations.")
      '(#:phases (modify-phases %standard-phases
                   (replace 'check
                     (lambda _
-                      (setenv "PYTHONPATH" (string-append ".:"
-                                                          (getenv 
"PYTHONPATH")))
                       (setenv "DJANGO_SETTINGS_MODULE" "tests.test_settings")
-                      (invoke "django-admin.py" "test" "-v2"))))))
+                      (invoke "python" "django-admin.py" "test" "-v2"))))))
     (native-inputs
      `(("python-django" ,python-django)))
     (home-page "https://github.com/django-compressor/django-appconf";)



reply via email to

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