From 3d9e8062bf1a3ee78d1abe62fa7d9de232d38467 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Sat, 23 Jan 2021 00:35:14 -0500 Subject: 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(-) (limited to 'gnu') diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index 75a1121264..d4919ce7f1 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" -- cgit 1.4.1