[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
46/131: gnu: python-django-statici18n: Do not read PYTHONPATH.
From: |
guix-commits |
Subject: |
46/131: gnu: python-django-statici18n: Do not read 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 96df2c1127d4baf186f2e3e5b8b3368dd28ed5d0
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sat Jan 23 00:31:20 2021 -0500
gnu: python-django-statici18n: Do not read PYTHONPATH.
* gnu/packages/django.scm (python-django-statici18n)
[phases]{check}: Do not read PYTHONPATH from environment. Do not set
build/lib explicitly (the install site path is already in the Guix
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 f25dd20..75a1121 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -935,9 +935,7 @@ name is purely coincidental.")
'(#:phases (modify-phases %standard-phases
(replace 'check
(lambda _
- (setenv "PYTHONPATH"
- (string-append
"./tests/test_project:./build/lib:"
- (getenv "PYTHONPATH")))
+ (setenv "PYTHONPATH" "./tests/test_project")
(setenv "DJANGO_SETTINGS_MODULE" "project.settings")
(invoke "pytest" "-vv"))))))
(native-inputs
- 31/131: gnu: python-cffi: Do not set PYTHONPATH., (continued)
- 31/131: gnu: python-cffi: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 33/131: gnu: ganeti: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 37/131: gnu: tensorflow: Do not alter PYTHONPATH., guix-commits, 2021/01/29
- 38/131: gnu: ghmm: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 32/131: gnu: linkchecker: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 34/131: gnu: behave: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 39/131: gnu: python-rpy2: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 35/131: gnu: python-pyhamcrest: Update to 2.0.2., guix-commits, 2021/01/29
- 42/131: gnu: python-django-contact-form: Do not alter PYTHONPATH., guix-commits, 2021/01/29
- 45/131: gnu: python-django-appconf: Do not alter PYTHONPATH., guix-commits, 2021/01/29
- 46/131: gnu: python-django-statici18n: Do not read PYTHONPATH.,
guix-commits <=
- 49/131: gnu: python-hyperkitty: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 43/131: gnu: python-django-pipeline: Do not alter PYTHONPATH., guix-commits, 2021/01/29
- 57/131: gnu: python-fenics-fiat: Do not alter PYTHONPATH., guix-commits, 2021/01/29
- 50/131: gnu: intel-xed: Update to 12.0.1., guix-commits, 2021/01/29
- 59/131: gnu: python-fenics-ffc: Do not alter PYTHONPATH., guix-commits, 2021/01/29
- 65/131: gnu: python-attrs: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 60/131: gnu: fenics: Do not alter PYTHONPATH., guix-commits, 2021/01/29
- 74/131: gnu: python-jsonschema: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 36/131: gnu: python-libtmux: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 51/131: gnu: fifengine: Do not alter PYTHONPATH., guix-commits, 2021/01/29