From 7289e6b16e020270c0f4eba2a282b8c2e9fd6994 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Tue, 16 Dec 2025 13:15:57 +0000 Subject: [PATCH] gnu: Remove python-jupyter-console-minimal. Variable is not public and not in use by any other packages. * gnu/packages/python-xyz.scm (python-jupyter-console-minimal): Delete variable. Fixes: guix/guix#4881 Change-Id: I3b13ec6522f8c7c61a39e8f2262b652fbcb4210b Signed-off-by: Rutherther --- gnu/packages/python-xyz.scm | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index d53b56b94abcfc8675944d0d09cb1a3e9a85968f..1649dc8f3dbc6c8967bda1174bfffb71eedad969 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -18724,30 +18724,6 @@ Jupyter kernels. It also allows for console-based interaction with non-Python Jupyter kernels such as IJulia and IRKernel.") (license license:bsd-3))) -;; The python-ipython and python-jupyter-console require each other. To get -;; the functionality in both packages working, strip down the -;; python-jupyter-console package when using it as an input to python-ipython. -(define python-jupyter-console-minimal - (package/inherit python-jupyter-console - (name "python-jupyter-console-minimal") - (arguments - (substitute-keyword-arguments - (package-arguments python-jupyter-console) - ((#:phases phases) - `(modify-phases ,phases - (add-after 'install 'delete-bin - (lambda* (#:key outputs #:allow-other-keys) - ;; Delete the bin files, to avoid conflicts in profiles - ;; where python-ipython and python-jupyter-console are - ;; both present. - (delete-file-recursively - (string-append - (assoc-ref outputs "out") "/bin")))))))) - ;; Remove the python-ipython propagated input, to avoid the cycle - (propagated-inputs - (modify-inputs (package-propagated-inputs python-jupyter-console) - (delete "python-ipython"))))) - (define-public python-jsbeautifier (package (name "python-jsbeautifier")