summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2024-05-06 22:53:44 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-10-14 21:31:53 +0100
commit753c1359162cfecb4d57a3ad0cb744f858e59464 (patch)
tree06cb94cd9a99f9bb45c2a688fced12f4dbd165cb /gnu/packages/python-xyz.scm
parent281b63c8f17e54a87e0e278017be0c882b94c150 (diff)
gnu: python-jupyter-client: Set environment variable.
* gnu/packages/python-xyz.scm (python-jupyter-client)[arguments]: Set JUPYTER_PLATFORM_DIRS variable. Change-Id: I2516d6d27ce53f778ae265241e95501a0cc024e3
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 9b6713f6a5..0e50f0c11b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -12656,6 +12656,8 @@ installing @code{kernelspec}s for use with Jupyter frontends.")
(when tests?
;; Some tests try to write to $HOME.
(setenv "HOME" "/tmp")
+ ;; jupyter-core demands this be set.
+ (setenv "JUPYTER_PLATFORM_DIRS" "1")
(invoke "pytest" "-vv"
"-k"
;; XXX "RuntimeError: Kernel died before replying