guix-commits
[Top][All Lists]
Advanced

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

47/131: gnu: python-django-url-filter: Do not alter PYTHONPATH.


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

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

commit 3f3799fdef1f47bbad6d46d1d90fc41d49ba132d
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sat Jan 23 00:35:14 2021 -0500

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

diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 75a1121..d4919ce 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -1236,15 +1236,11 @@ to ElasticSearch.")
                       ;; Do not depend on compatibility package for old
                       ;; Python versions.
                       (substitute* "requirements.txt"
-                        (("enum-compat") ""))
-                      #t))
+                        (("enum-compat") ""))))
                   (replace 'check
                     (lambda* (#:key tests? #:allow-other-keys)
                       (if tests?
                           (begin
-                            (setenv "PYTHONPATH"
-                                    (string-append "./build/lib:.:"
-                                                   (getenv "PYTHONPATH")))
                             (setenv "DJANGO_SETTINGS_MODULE"
                                     "test_project.settings")
                             (invoke "pytest" "-vv" "--doctest-modules"



reply via email to

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