summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorVinicius Monego <monego@posteo.net>2026-02-21 08:38:55 -0300
committerVinicius Monego <monego@posteo.net>2026-04-22 21:37:38 -0300
commit96d645150a210c82d2a9b20153b7e140f313fa3f (patch)
tree285280042979f3fa9f04c49e027f8baf3ac561a8 /gnu
parent78000c9395c0d6278ceb33b08ccc6ca9f623bd19 (diff)
gnu: Add python-spyder-kernels.
* gnu/packages/jupyter.scm (python-spyder-kernels): New variable. Change-Id: Id4027e9672e5988f5c54681765ea077d5b2c7a27
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/jupyter.scm64
1 files changed, 64 insertions, 0 deletions
diff --git a/gnu/packages/jupyter.scm b/gnu/packages/jupyter.scm
index 3b7d04d75d..d6f5ab9c27 100644
--- a/gnu/packages/jupyter.scm
+++ b/gnu/packages/jupyter.scm
@@ -22,6 +22,7 @@
;;; Copyright © 2024, 2025 Nicolas Graves <ngraves@ngraves.fr>
;;; Copyright © 2024-2025 Sharlatan Hellseher <sharlatanus@gmail.com>
;;; Copyright © 2025 Ghislain Vaillant <ghislain.vaillant@inria.fr>
+;;; Copyright © 2026 Vinicius Monego <monego@posteo.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -52,7 +53,9 @@
#:use-module (gnu packages bash)
#:use-module (gnu packages check)
#:use-module (gnu packages cpp)
+ #:use-module (gnu packages databases)
#:use-module (gnu packages docker)
+ #:use-module (gnu packages freedesktop)
#:use-module (gnu packages linux)
#:use-module (gnu packages monitoring)
#:use-module (gnu packages networking)
@@ -1764,6 +1767,67 @@ analyzing Jupyter Notebooks.")
rich media output.")
(license license:bsd-3)))
+(define-public python-spyder-kernels
+ (package
+ (name "python-spyder-kernels")
+ (version "3.1.4")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/spyder-ide/spyder-kernels")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0yhrifh148g93qkwx9ggsh2kr9789apzlw91ais4dyas5yf1xj8w"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ #~(list "-k" (string-append
+ ;; Avoid pulling Django for a single test.
+ "not test_django_settings"
+ ;; AssertionError.
+ " and not test_umr_reload_modules"))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'redirect-HOME
+ (lambda _
+ (setenv "HOME" "/tmp"))))))
+ (propagated-inputs (list python-cloudpickle
+ python-ipykernel
+ python-ipython
+ python-jupyter-client
+ python-packaging
+ python-pyxdg
+ python-pyzmq
+ python-traitlets
+ python-wurlitzer))
+ (native-inputs (list python-anyio
+ python-cython
+ python-dask
+ python-h5py
+ python-matplotlib
+ python-numpy
+ python-pandas
+ python-pillow
+ python-polars
+ python-pyarrow
+ python-pydicom
+ python-pytest
+ python-scipy
+ python-setuptools
+ python-xarray))
+ (home-page "https://github.com/spyder-ide/spyder-kernels")
+ (synopsis "Jupyter kernels for Spyder's console")
+ (description "This package provides Jupyter kernels for use with the
+consoles of Spyder, the Scientific Python Development Environment.
+
+These kernels can be launched either through Spyder itself or in an
+independent Python session, and allow for interactive or file-based execution
+of Python code inside Spyder.")
+ (license license:expat)))
+
(define-public python-voila
(package
(name "python-voila")