guix-commits
[Top][All Lists]
Advanced

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

63/163: gnu: python-django-url-filter: Do not alter PYTHONPATH.


From: guix-commits
Subject: 63/163: gnu: python-django-url-filter: Do not alter PYTHONPATH.
Date: Mon, 25 Jan 2021 02:01:32 -0500 (EST)

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

commit 0f23e0123008c357da555e278a2639c53404e22c
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]