[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
40/131: gnu: python-django: Do not alter PYTHONPATH.
From: |
guix-commits |
Subject: |
40/131: gnu: python-django: Do not alter PYTHONPATH. |
Date: |
Mon, 1 Feb 2021 11:56:42 -0500 (EST) |
apteryx pushed a commit to branch core-updates
in repository guix.
commit 774812df96d2c21dba52e0360927cd78ae97a959
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sat Jan 23 00:19:29 2021 -0500
gnu: python-django: Do not alter PYTHONPATH.
* gnu/packages/django.scm (python-django): Remove trailing #t.
[phases]{pre-check,check}: Do not alter PYTHONPATH.
---
gnu/packages/django.scm | 15 +--------------
1 file changed, 1 insertion(+), 14 deletions(-)
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index aa4411c..091d757 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -74,23 +74,10 @@
(substitute* "tests/settings_tests/tests.py"
((".*def test_incorrect_timezone.*" all)
(string-append " @unittest.skipIf(True, 'Disabled by
Guix')\n"
- all)))
-
- ;; Preserve the PYTHONPATH created by Guix when running the tests.
- (substitute* "tests/admin_scripts/tests.py"
- (("python_path = \\[")
- (string-append "python_path = ['"
- (string-join
- (string-split (getenv "PYTHONPATH") #\:)
- "','")
- "', ")))
-
- #t))
+ all)))))
(replace 'check
(lambda _
(with-directory-excursion "tests"
- (setenv "PYTHONPATH"
- (string-append "..:" (getenv "PYTHONPATH")))
(invoke "python" "runtests.py"
;; By default tests run in parallel, which may cause
;; various race conditions. Run sequentially for
- 53/131: gnu: meson-0.55: Update to 0.55.3., (continued)
- 53/131: gnu: meson-0.55: Update to 0.55.3., guix-commits, 2021/02/01
- 30/131: gnu: python-xmlschema: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 29/131: gnu: python-loompy: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 13/131: gnu: python-black: Remove blackd., guix-commits, 2021/02/01
- 15/131: gnu: python-idna-ssl: Add missing input., guix-commits, 2021/02/01
- 21/131: gnu: python2-virtualenv: Fix build., guix-commits, 2021/02/01
- 31/131: gnu: python-cffi: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 32/131: gnu: linkchecker: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 36/131: gnu: python-libtmux: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 38/131: gnu: ghmm: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 40/131: gnu: python-django: Do not alter PYTHONPATH.,
guix-commits <=
- 41/131: gnu: python-pytest-django: Do not alter PYTHONPATH., guix-commits, 2021/02/01
- 42/131: gnu: python-django-contact-form: Do not alter PYTHONPATH., guix-commits, 2021/02/01
- 44/131: gnu: python-django-sortedm2m: Do not alter PYTHONPATH., guix-commits, 2021/02/01
- 50/131: gnu: intel-xed: Update to 12.0.1., guix-commits, 2021/02/01
- 56/131: gnu: python-fenics-ufl: Do not alter PYTHONPATH., guix-commits, 2021/02/01
- 51/131: gnu: fifengine: Do not alter PYTHONPATH., guix-commits, 2021/02/01
- 47/131: gnu: python-django-url-filter: Do not alter PYTHONPATH., guix-commits, 2021/02/01
- 54/131: gnu: gdk-pixbuf: Update to 2.42.2., guix-commits, 2021/02/01
- 52/131: gnu: meson: Update to 0.56.2., guix-commits, 2021/02/01
- 55/131: gnu: python-fenics-dijitso: Do not alter PYTHONPATH., guix-commits, 2021/02/01