guix-commits
[Top][All Lists]
Advanced

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

06/12: gnu: Add python-jupyter-client-bootstrap.


From: guix-commits
Subject: 06/12: gnu: Add python-jupyter-client-bootstrap.
Date: Mon, 26 Apr 2021 04:37:50 -0400 (EDT)

lbraun pushed a commit to branch master
in repository guix.

commit a0e98da14f318f02b008b71d6bf236171dff67e3
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Tue Apr 20 09:49:32 2021 +0200

    gnu: Add python-jupyter-client-bootstrap.
    
    * gnu/packages/python-xyz.scm (python-jupyter-client-bootstrap): New
    variable.
---
 gnu/packages/python-xyz.scm | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index ea67dfc..fcd8b2d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -7469,6 +7469,20 @@ for working with kernels, and the @code{jupyter 
kernelspec} entrypoint for
 installing @code{kernelspec}s for use with Jupyter frontends.")
     (license license:bsd-3)))
 
+;; Bootstrap variant of jupyter-client, which breaks the loop between ipykernel
+;; and jupyter-client by removing the former from its native-inputs and
+;; disabling tests.
+(define-public python-jupyter-client-bootstrap
+  (let ((base python-jupyter-client))
+    (hidden-package
+      (package
+        (inherit base)
+        (name "python-jupyter-client-bootstrap")
+        (arguments
+          `(#:tests? #f
+            ,@(package-arguments base)))
+        (native-inputs `())))))
+
 (define-public python2-jupyter-client
   (package-with-python2 python-jupyter-client))
 



reply via email to

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