gnu: python-jupyter-client: Set environment variable.

* gnu/packages/python-xyz.scm (python-jupyter-client)[arguments]: Set
JUPYTER_PLATFORM_DIRS variable.

Change-Id: I2516d6d27ce53f778ae265241e95501a0cc024e3
This commit is contained in:
Ricardo Wurmus 2024-05-06 22:53:44 +02:00 committed by Sharlatan Hellseher
parent a318906821
commit b2355d26e2
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -12843,6 +12843,8 @@ installing @code{kernelspec}s for use with Jupyter frontends.")
(when tests? (when tests?
;; Some tests try to write to $HOME. ;; Some tests try to write to $HOME.
(setenv "HOME" "/tmp") (setenv "HOME" "/tmp")
;; jupyter-core demands this be set.
(setenv "JUPYTER_PLATFORM_DIRS" "1")
(invoke "pytest" "-vv" (invoke "pytest" "-vv"
"-k" "-k"
;; XXX "RuntimeError: Kernel died before replying ;; XXX "RuntimeError: Kernel died before replying