guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

56/195: gnu: python-jupyter-client: Set environment variable.


From: guix-commits
Subject: 56/195: gnu: python-jupyter-client: Set environment variable.
Date: Tue, 15 Oct 2024 03:29:40 -0400 (EDT)

sharlatan pushed a commit to branch python-team-rebased
in repository guix.

commit 753c1359162cfecb4d57a3ad0cb744f858e59464
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon May 6 22:53:44 2024 +0200

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



reply via email to

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