From d5f1e4cc05922106f921ceb3cd764921c5737dbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 22 Apr 2026 19:41:28 -0700 Subject: [PATCH 1/2] python3Packages.nbconvert: 7.16.6 -> 7.17.1 Changelog: https://github.com/jupyter/nbconvert/blob/v7.17.1/CHANGELOG.md --- pkgs/development/python-modules/nbconvert/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/nbconvert/default.nix b/pkgs/development/python-modules/nbconvert/default.nix index e46dcae1ee8e..acae7431277d 100644 --- a/pkgs/development/python-modules/nbconvert/default.nix +++ b/pkgs/development/python-modules/nbconvert/default.nix @@ -32,12 +32,12 @@ let in buildPythonPackage rec { pname = "nbconvert"; - version = "7.16.6"; + version = "7.17.1"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-V2p+N8ZIDae4Rl7vpmwXhEJDgWzhzMNyYzxrccPA9YI="; + hash = "sha256-NNDQp+c848urbFquj09Gh5coCwH9i9LKdG2oVp7d19I="; }; # Add $out/share/jupyter to the list of paths that are used to search for From 814e47066891f8e36978709a954de359cf7770df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 22 Apr 2026 19:42:10 -0700 Subject: [PATCH 2/2] python3Packages.nbconvert: use upstream's style.css https://github.com/jupyter/nbconvert/issues/1896 has been fixed --- pkgs/development/python-modules/nbconvert/default.nix | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/pkgs/development/python-modules/nbconvert/default.nix b/pkgs/development/python-modules/nbconvert/default.nix index acae7431277d..529fc3193fcd 100644 --- a/pkgs/development/python-modules/nbconvert/default.nix +++ b/pkgs/development/python-modules/nbconvert/default.nix @@ -1,6 +1,5 @@ { lib, - fetchurl, buildPythonPackage, fetchPypi, hatchling, @@ -23,13 +22,6 @@ pytestCheckHook, }: -let - # see https://github.com/jupyter/nbconvert/issues/1896 - style-css = fetchurl { - url = "https://cdn.jupyter.org/notebook/5.4.0/style/style.min.css"; - hash = "sha256-WGWmCfRDewRkvBIc1We2GQdOVAoFFaO4LyIvdk61HgE="; - }; -in buildPythonPackage rec { pname = "nbconvert"; version = "7.17.1"; @@ -46,9 +38,6 @@ buildPythonPackage rec { postPatch = '' substituteAllInPlace ./nbconvert/exporters/templateexporter.py - - mkdir -p share/templates/classic/static - cp ${style-css} share/templates/classic/static/style.css ''; build-system = [ hatchling ];