mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-notebook: Fix tests.
They failed because JUPYTER_PATH was set in commit
1683e9d967
.
* gnu/packages/python-xyz.scm (python-notebook) [#:phases]: Unset
JUPYTER_PATH in 'check.
This commit is contained in:
parent
d57341234d
commit
2209e5c753
1 changed files with 3 additions and 0 deletions
|
@ -10807,6 +10807,9 @@ convert an @code{.ipynb} notebook file into various static formats including:
|
||||||
(delete-file-recursively "notebook/tests/selenium")
|
(delete-file-recursively "notebook/tests/selenium")
|
||||||
(when tests?
|
(when tests?
|
||||||
(add-installed-pythonpath inputs outputs)
|
(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
|
;; Some tests need HOME
|
||||||
(setenv "HOME" "/tmp")
|
(setenv "HOME" "/tmp")
|
||||||
(with-directory-excursion "/tmp"
|
(with-directory-excursion "/tmp"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue