jupyter updates 2025-01-18 (#374760)

Changed files
+137 -107
pkgs
development
python-modules
bash-kernel
jupysql
jupyter-events
jupyter-server
jupyterhub-ldapauthenticator
jupyterlab
livelossplot
marimo
nbclassic
nbclient
nbconvert
notebook
pycrdt-websocket
+9 -7
pkgs/development/python-modules/bash-kernel/default.nix
···
buildPythonPackage,
fetchPypi,
flit-core,
+
filetype,
ipykernel,
python,
pexpect,
···
buildPythonPackage rec {
pname = "bash-kernel";
-
version = "0.9.3";
+
version = "0.10.0";
pyproject = true;
src = fetchPypi {
pname = "bash_kernel";
inherit version;
-
hash = "sha256-n3oDgRyn2csfv/gIIjfPBFC5cYIlL9C4BYeha2XmbVg=";
+
hash = "sha256-LtWgpBbEGNHXUecVBb1siJ4SFXREtQxCh6aF2ndcKMo=";
};
patches = [
···
})
];
-
nativeBuildInputs = [ flit-core ];
+
build-system = [ flit-core ];
-
propagatedBuildInputs = [
+
dependencies = [
+
filetype
ipykernel
pexpect
];
···
runHook postCheck
'';
-
meta = with lib; {
+
meta = {
description = "Bash Kernel for Jupyter";
homepage = "https://github.com/takluyver/bash_kernel";
changelog = "https://github.com/takluyver/bash_kernel/releases/tag/${version}";
-
license = licenses.bsd3;
-
maintainers = with maintainers; [ zimbatm ];
+
license = lib.licenses.bsd3;
+
maintainers = with lib.maintainers; [ zimbatm ];
};
}
+2 -2
pkgs/development/python-modules/jupysql/default.nix
···
buildPythonPackage rec {
pname = "jupysql";
-
version = "0.10.16";
+
version = "0.10.17";
pyproject = true;
···
owner = "ploomber";
repo = "jupysql";
tag = version;
-
hash = "sha256-TIISiGvspRG0d/4nEyi8Tiu0y80D1Rf8puDEkGIeA08=";
+
hash = "sha256-0lrcNKDKmM3Peodc9ZzgqkzwPHPLMxxXHAj4OOKWZxA=";
};
pythonRelaxDeps = [ "sqlalchemy" ];
+21 -9
pkgs/development/python-modules/jupyter-events/default.nix
···
lib,
buildPythonPackage,
fetchFromGitHub,
+
fetchpatch2,
pythonOlder,
# build
···
python-json-logger,
pyyaml,
referencing,
+
rfc3339-validator,
+
rfc3986-validator,
traitlets,
# optionals
···
buildPythonPackage rec {
pname = "jupyter-events";
-
version = "0.10.0";
+
version = "0.11.0";
pyproject = true;
-
-
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "jupyter";
repo = "jupyter_events";
tag = "v${version}";
-
hash = "sha256-8aps8aNgXw+XbDgtCvWw+Ij1Cm1N0G+wcL35ySkofOk=";
+
hash = "sha256-e+BxJc/i5lpljvv6Uwqwrog+nLJ4NOBSqd47Q7DELOE=";
};
-
nativeBuildInputs = [ hatchling ];
+
patches = [
+
# https://github.com/jupyter/jupyter_events/pull/110
+
(fetchpatch2 {
+
name = "python-json-logger-compatibility.patch";
+
url = "https://github.com/jupyter/jupyter_events/commit/6704ea630522f44542d83608f750da0068e41443.patch";
+
hash = "sha256-PfmOlbXRFdQxhM3SngjjUNsiueuUfCO7xlyLDGSnzj4=";
+
})
+
];
+
+
build-system = [ hatchling ];
-
propagatedBuildInputs = [
+
dependencies = [
jsonschema
python-json-logger
pyyaml
referencing
+
rfc3339-validator
+
rfc3986-validator
traitlets
] ++ jsonschema.optional-dependencies.format-nongpl;
···
pythonImportsCheck = [ "jupyter_events" ];
-
meta = with lib; {
+
meta = {
changelog = "https://github.com/jupyter/jupyter_events/releases/tag/v${version}";
description = "Configurable event system for Jupyter applications and extensions";
mainProgram = "jupyter-events";
homepage = "https://github.com/jupyter/jupyter_events";
-
license = licenses.bsd3;
-
maintainers = [ ];
+
license = lib.licenses.bsd3;
+
maintainers = lib.teams.jupyter.members;
};
}
+9 -7
pkgs/development/python-modules/jupyter-server/default.nix
···
buildPythonPackage rec {
pname = "jupyter-server";
-
version = "2.14.2";
+
version = "2.15.0";
pyproject = true;
-
disabled = pythonOlder "3.8";
+
disabled = pythonOlder "3.9";
src = fetchPypi {
pname = "jupyter_server";
inherit version;
-
hash = "sha256-ZglQIaqWOM7SdsJIsdgYYuTFDyktV1kgu+lg3hxWsSs=";
+
hash = "sha256-nURrhpe09zN6G3zcrEB3i6vdk7phS21oqxwMkY8cQIQ=";
};
-
nativeBuildInputs = [
+
build-system = [
hatch-jupyter-builder
hatchling
];
-
propagatedBuildInputs = [
+
dependencies = [
argon2-cffi
jinja2
tornado
···
# https://github.com/NixOS/nixpkgs/issues/299427
stripExclude = lib.optionals stdenv.hostPlatform.isDarwin [ "favicon.ico" ];
+
+
pythonImportsCheck = [ "jupyter_server" ];
nativeCheckInputs = [
ipykernel
···
__darwinAllowLocalNetworking = true;
-
meta = with lib; {
+
meta = {
changelog = "https://github.com/jupyter-server/jupyter_server/blob/v${version}/CHANGELOG.md";
description = "Backend—i.e. core services, APIs, and REST endpoints—to Jupyter web applications";
mainProgram = "jupyter-server";
homepage = "https://github.com/jupyter-server/jupyter_server";
-
license = licenses.bsdOriginal;
+
license = lib.licenses.bsdOriginal;
maintainers = lib.teams.jupyter.members;
};
}
+2 -2
pkgs/development/python-modules/jupyterhub-ldapauthenticator/default.nix
···
buildPythonPackage rec {
pname = "jupyterhub-ldapauthenticator";
-
version = "2.0.1";
+
version = "2.0.2";
pyproject = true;
src = fetchFromGitHub {
owner = "jupyterhub";
repo = "ldapauthenticator";
tag = version;
-
hash = "sha256-pb1d0dqu3VGCsuibpYgncbqCM9fz09yyoKGcKb14f4k=";
+
hash = "sha256-xixgry/++E6RimB8wo1NF8SsfzxKL1ZlNQVrlBhQ674=";
};
build-system = [ setuptools ];
+27 -19
pkgs/development/python-modules/jupyterlab/default.nix
···
hatchling,
async-lru,
httpx,
-
packaging,
-
tornado,
+
importlib-metadata,
ipykernel,
+
jinja2,
jupyter-core,
jupyter-lsp,
+
jupyter-server,
jupyterlab-server,
-
jupyter-server,
notebook-shim,
-
jinja2,
+
packaging,
+
setuptools,
tomli,
+
tornado,
+
traitlets,
pythonOlder,
}:
buildPythonPackage rec {
pname = "jupyterlab";
-
version = "4.2.5";
+
version = "4.3.4";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
-
hash = "sha256-rn86G4y4i09VAJznn6fAb5nXDNY2Ae5KqRgV0FT0b3U=";
+
hash = "sha256-8LubCaBHZuNCPMzC/CMWmqL/7c34cT6eD7M8rAtoWdA=";
};
build-system = [
···
hatchling
];
-
dependencies = [
-
async-lru
-
httpx
-
packaging
-
tornado
-
ipykernel
-
jupyter-core
-
jupyter-lsp
-
jupyterlab-server
-
jupyter-server
-
notebook-shim
-
jinja2
-
] ++ lib.optionals (pythonOlder "3.11") [ tomli ];
+
dependencies =
+
[
+
async-lru
+
httpx
+
ipykernel
+
jinja2
+
jupyter-core
+
jupyter-lsp
+
jupyter-server
+
jupyterlab-server
+
notebook-shim
+
packaging
+
setuptools
+
tornado
+
traitlets
+
]
+
++ lib.optionals (pythonOlder "3.11") [ tomli ]
+
++ lib.optionals (pythonOlder "3.10") [ importlib-metadata ];
makeWrapperArgs = [
"--set"
+14 -14
pkgs/development/python-modules/livelossplot/default.nix
···
lib,
buildPythonPackage,
fetchFromGitHub,
-
pythonOlder,
+
setuptools,
pytestCheckHook,
bokeh,
ipython,
matplotlib,
-
numpy,
nbconvert,
nbformat,
}:
buildPythonPackage rec {
pname = "livelossplot";
-
version = "0.5.5";
-
format = "setuptools";
-
-
disabled = pythonOlder "3.6";
+
version = "0.5.6";
+
pyproject = true;
src = fetchFromGitHub {
owner = "stared";
repo = pname;
-
rev = "v${version}";
-
sha256 = "sha256-YU8vX4SubI6txmC/i5fOjcvWfuDFm8+SPmie8Eb1qRs=";
+
tag = "v${version}";
+
hash = "sha256-qC1FBFJyf2IlDIffJ5Xs89WcN/GFA/8maODhc1u2xhA=";
};
-
propagatedBuildInputs = [
+
build-system = [ setuptools ];
+
+
dependencies = [
bokeh
-
ipython
matplotlib
-
numpy
];
+
+
pythonImportsCheck = [ "livelossplot" ];
nativeCheckInputs = [
+
ipython
nbconvert
nbformat
pytestCheckHook
];
-
meta = with lib; {
+
meta = {
description = "Live training loss plot in Jupyter for Keras, PyTorch, and others";
homepage = "https://github.com/stared/livelossplot";
-
license = licenses.mit;
-
maintainers = with maintainers; [ bcdarwin ];
+
license = lib.licenses.mit;
+
maintainers = with lib.maintainers; [ bcdarwin ];
};
}
+13 -6
pkgs/development/python-modules/marimo/default.nix
···
lib,
buildPythonPackage,
fetchPypi,
+
pythonOlder,
# build-system
hatchling,
···
narwhals,
packaging,
psutil,
+
pycrdt,
pygments,
pymdown-extensions,
+
pyyaml,
ruff,
starlette,
tomlkit,
+
typing-extensions,
uvicorn,
websockets,
-
pyyaml,
# tests
versionCheckHook,
···
buildPythonPackage rec {
pname = "marimo";
-
version = "0.10.9";
+
version = "0.10.14";
pyproject = true;
# The github archive does not include the static assets
src = fetchPypi {
inherit pname version;
-
hash = "sha256-WoMfybvKlD8Gy2sc3/EhQZVN9WPh8eEVPlG5ksyjjGc=";
+
hash = "sha256-Af8KNgKBhgm2AwCrCrSRYWutarm4Z+ftdt0mFgApcsk=";
};
build-system = [ hatchling ];
-
pythonRelaxDeps = [ "websockets" ];
+
pythonRelaxDeps = [
+
"pycrdt"
+
"websockets"
+
];
dependencies = [
click
···
narwhals
packaging
psutil
+
pycrdt
pygments
pymdown-extensions
+
pyyaml
ruff
starlette
tomlkit
uvicorn
websockets
-
pyyaml
-
];
+
] ++ lib.optionals (pythonOlder "3.11") [ typing-extensions ];
pythonImportsCheck = [ "marimo" ];
+2 -2
pkgs/development/python-modules/nbclassic/default.nix
···
buildPythonPackage rec {
pname = "nbclassic";
-
version = "1.1.0";
+
version = "1.2.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
-
hash = "sha256-d7d7qF+emI+brYXfNFtRTp5kx/DoIpkqsd9KeKxk/B4=";
+
hash = "sha256-c27FBIOlRIWXHbITvpIH405R/BRMeDQ2JbaZF0I2RLo=";
};
build-system = [
+12 -14
pkgs/development/python-modules/nbclient/default.nix
···
{
-
async-generator,
buildPythonPackage,
fetchFromGitHub,
hatchling,
ipykernel,
ipywidgets,
jupyter-client,
+
jupyter-core,
lib,
nbconvert,
nbformat,
-
nest-asyncio,
pytest-asyncio,
pytestCheckHook,
pythonOlder,
···
let
nbclient = buildPythonPackage rec {
pname = "nbclient";
-
version = "0.10.0";
-
format = "pyproject";
+
version = "0.10.2";
+
pyproject = true;
-
disabled = pythonOlder "3.7";
+
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "jupyter";
repo = pname;
tag = "v${version}";
-
hash = "sha256-8OLkpwX4Gpam9VSFUtNS41Ypxe4+2yN3ng6iVY9DSqY=";
+
hash = "sha256-+qSed6yy4YVZ25GigNTap+kMaoDiMYSJO85wurbzeDs=";
};
-
nativeBuildInputs = [ hatchling ];
+
build-system = [ hatchling ];
-
propagatedBuildInputs = [
-
async-generator
+
dependencies = [
+
jupyter-client
+
jupyter-core
+
nbformat
traitlets
-
nbformat
-
nest-asyncio
-
jupyter-client
];
# circular dependencies if enabled by default
···
});
};
-
meta = with lib; {
+
meta = {
homepage = "https://github.com/jupyter/nbclient";
description = "Client library for executing notebooks";
mainProgram = "jupyter-execute";
-
license = licenses.bsd3;
+
license = lib.licenses.bsd3;
maintainers = [ ];
};
};
+21 -20
pkgs/development/python-modules/nbconvert/default.nix
···
packaging,
pandocfilters,
pygments,
-
tinycss2,
traitlets,
importlib-metadata,
flaky,
···
in
buildPythonPackage rec {
pname = "nbconvert";
-
version = "7.16.4";
+
version = "7.16.5";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
-
hash = "sha256-hsqRuiZrCkSNyW+mxbnZiv+r3ihns2MlhwNTaAf59/Q=";
+
hash = "sha256-yDRnu1d3/fqsXru46GTzALJ39oaS7MBNbaty8thEI0Q=";
};
# Add $out/share/jupyter to the list of paths that are used to search for
···
cp ${style-css} share/templates/classic/static/style.css
'';
-
nativeBuildInputs = [ hatchling ];
+
build-system = [ hatchling ];
-
propagatedBuildInputs = [
-
beautifulsoup4
-
bleach
-
defusedxml
-
jinja2
-
jupyter-core
-
jupyterlab-pygments
-
markupsafe
-
mistune
-
nbclient
-
packaging
-
pandocfilters
-
pygments
-
tinycss2
-
traitlets
-
] ++ lib.optionals (pythonOlder "3.10") [ importlib-metadata ];
+
dependencies =
+
[
+
beautifulsoup4
+
bleach
+
defusedxml
+
jinja2
+
jupyter-core
+
jupyterlab-pygments
+
markupsafe
+
mistune
+
nbclient
+
packaging
+
pandocfilters
+
pygments
+
traitlets
+
]
+
++ bleach.optional-dependencies.css
+
++ lib.optionals (pythonOlder "3.10") [ importlib-metadata ];
preCheck = ''
export HOME=$(mktemp -d)
+3 -3
pkgs/development/python-modules/notebook/default.nix
···
buildPythonPackage rec {
pname = "notebook";
-
version = "7.2.2";
+
version = "7.3.2";
pyproject = true;
-
disabled = pythonOlder "3.8";
+
disabled = pythonOlder "3.9";
src = fetchPypi {
inherit pname version;
-
hash = "sha256-LvB9QiBCFiOtP+iBGNaHvARQBVVwzdFggUpZzzocUW4=";
+
hash = "sha256-cF6DoXhfRbODvz7hPLdmgLktJPVvsMfSE2/h2FDNPKg=";
};
postPatch = ''
+2 -2
pkgs/development/python-modules/pycrdt-websocket/default.nix
···
buildPythonPackage rec {
pname = "pycrdt-websocket";
-
version = "0.15.1";
+
version = "0.15.3";
pyproject = true;
src = fetchFromGitHub {
owner = "jupyter-server";
repo = "pycrdt-websocket";
tag = "v${version}";
-
hash = "sha256-O0GRk81at8bgv+/4au8A55dZK2A28+ghy3sitAAZQBI=";
+
hash = "sha256-VK4nSsxF/FbCnyS1RM/JHCPS0Omj4rvdwjzLNDq2hjk=";
};
build-system = [ hatchling ];