From b2355d26e2b559aa8c3f95628e4105e91efbd721 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 6 May 2024 22:53:44 +0200 Subject: [PATCH] gnu: python-jupyter-client: Set environment variable. * gnu/packages/python-xyz.scm (python-jupyter-client)[arguments]: Set JUPYTER_PLATFORM_DIRS variable. Change-Id: I2516d6d27ce53f778ae265241e95501a0cc024e3 --- gnu/packages/python-xyz.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index f07e3a875f81ac481dcfed80de620db5df9b50a7..125ecfd8b608b070693fca466770b8cd17640f51 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -12843,6 +12843,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