[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/12: gnu: python-notebook: Fix tests.
From: |
guix-commits |
Subject: |
12/12: gnu: python-notebook: Fix tests. |
Date: |
Mon, 26 Apr 2021 04:37:52 -0400 (EDT) |
lbraun pushed a commit to branch master
in repository guix.
commit 2209e5c7531bfe5e81c86f0a581d16569ee9b719
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Tue Apr 20 11:15:30 2021 +0200
gnu: python-notebook: Fix tests.
They failed because JUPYTER_PATH was set in commit
1683e9d9677d54f695a54fc44ed309287989fc34.
* gnu/packages/python-xyz.scm (python-notebook) [#:phases]: Unset
JUPYTER_PATH in 'check.
---
gnu/packages/python-xyz.scm | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 3942135..2d33597 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10807,6 +10807,9 @@ convert an @code{.ipynb} notebook file into various
static formats including:
(delete-file-recursively "notebook/tests/selenium")
(when tests?
(add-installed-pythonpath inputs outputs)
+ ;; Some tests do not expect all files to be installed in the
+ ;; same directory, but JUPYTER_PATH contains multiple entries.
+ (unsetenv "JUPYTER_PATH")
;; Some tests need HOME
(setenv "HOME" "/tmp")
(with-directory-excursion "/tmp"
- 02/12: gnu: python-jupyter-core: Enable tests., (continued)
- 02/12: gnu: python-jupyter-core: Enable tests., guix-commits, 2021/04/26
- 05/12: gnu: python-nbformat: Enable tests., guix-commits, 2021/04/26
- 06/12: gnu: Add python-jupyter-client-bootstrap., guix-commits, 2021/04/26
- 07/12: gnu: Add python-ipykernel-bootstrap., guix-commits, 2021/04/26
- 10/12: gnu: Add python-pytest-dependency., guix-commits, 2021/04/26
- 11/12: gnu: python-nbconvert: Enable more tests., guix-commits, 2021/04/26
- 08/12: gnu: python-jupyter-client: Enable tests., guix-commits, 2021/04/26
- 03/12: gnu: Add python-json-spec., guix-commits, 2021/04/26
- 04/12: gnu: Add python-fastjsonschema., guix-commits, 2021/04/26
- 09/12: gnu: python-ipykernel: Add missing inputs., guix-commits, 2021/04/26
- 12/12: gnu: python-notebook: Fix tests.,
guix-commits <=