guix-commits
[Top][All Lists]
Advanced

[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"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]