From 8259f5485a1aa2ec61316a250cfdba85b2b33a10 Mon Sep 17 00:00:00 2001 From: natsukium Date: Fri, 19 Apr 2024 10:40:35 +0900 Subject: [PATCH 1/6] python311Packages.anywidget: 0.9.6 -> 0.9.7 Changelog: https://github.com/manzt/anywidget/releases/tag/anywidget%400.9.7 --- pkgs/development/python-modules/anywidget/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/anywidget/default.nix b/pkgs/development/python-modules/anywidget/default.nix index 87450407ff99..69b6416517bd 100644 --- a/pkgs/development/python-modules/anywidget/default.nix +++ b/pkgs/development/python-modules/anywidget/default.nix @@ -14,14 +14,14 @@ buildPythonPackage rec { pname = "anywidget"; - version = "0.9.6"; + version = "0.9.7"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-nhDPAXwcsxwrTBG1kEBj77bDXMb3j/Xckk3FENjCS5E="; + hash = "sha256-mepiQbJVtIHgzEhnjy8MjBOEMYLvlpLJ/wzMSm3+2bE="; }; # We do not need the jupyterlab build dependency, because we do not need to From 04070e7a1f1c29d9120731c4b97fd4b7a7668621 Mon Sep 17 00:00:00 2001 From: natsukium Date: Fri, 19 Apr 2024 10:40:52 +0900 Subject: [PATCH 2/6] python311Packages.ipyniivue: 1.1.0 -> 2.0.0 Changelog: https://github.com/niivue/ipyniivue/releases/tag/2.0.0 --- .../python-modules/ipyniivue/default.nix | 21 +++++++------------ 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/pkgs/development/python-modules/ipyniivue/default.nix b/pkgs/development/python-modules/ipyniivue/default.nix index 2f711f92a087..c097f2cb404e 100644 --- a/pkgs/development/python-modules/ipyniivue/default.nix +++ b/pkgs/development/python-modules/ipyniivue/default.nix @@ -4,37 +4,32 @@ , pythonOlder , hatchling , hatch-jupyter-builder -, ipywidgets -, jupyter-ui-poll +, anywidget , pytestCheckHook }: buildPythonPackage rec { pname = "ipyniivue"; - version = "1.1.0"; - format = "pyproject"; + version = "2.0.0"; + pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-kym7949VI6C+62p3IOQ2QIzWnuSBcrmySb83oqUwhjI="; + hash = "sha256-CvMSUvPyXxPexs0/0sa/xt65RFWtvmYZwGSMIQGvLkc="; }; - # We do not need the jupyterlab build dependency, because we do not need to + # We do not need the build hooks, because we do not need to # build any JS components; these are present already in the PyPI artifact. - # - postPatch = '' - substituteInPlace pyproject.toml \ - --replace '"jupyterlab==3.*",' "" - ''; + env.HATCH_BUILD_NO_HOOKS = true; - nativeBuildInputs = [ + build-system = [ hatchling hatch-jupyter-builder ]; - propagatedBuildInputs = [ ipywidgets jupyter-ui-poll ]; + dependencies = [ anywidget ]; nativeCheckImports = [ pytestCheckHook ]; pythonImportsCheck = [ "ipyniivue" ]; From 76c3847cc487dd164cc7d20b34b46aca69af267e Mon Sep 17 00:00:00 2001 From: natsukium Date: Fri, 19 Apr 2024 10:41:17 +0900 Subject: [PATCH 3/6] python311Packages.jupyter-lsp: 2.2.4 -> 2.2.5 --- pkgs/development/python-modules/jupyter-lsp/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/jupyter-lsp/default.nix b/pkgs/development/python-modules/jupyter-lsp/default.nix index 74fc46f39afa..2f1342839db3 100644 --- a/pkgs/development/python-modules/jupyter-lsp/default.nix +++ b/pkgs/development/python-modules/jupyter-lsp/default.nix @@ -7,12 +7,12 @@ buildPythonPackage rec { pname = "jupyter-lsp"; - version = "2.2.4"; + version = "2.2.5"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-XlADMUk0QGU0jmiGCPPG1lTvBtmFa2dlW9e2usnuLVk="; + hash = "sha256-eTFHoFrURvgJ/VPvHNGan1JW/Qota3zpQ6mCy09UUAE="; }; nativeBuildInputs = [ From b7d6c46a1702e841fc3839dfe73c93a9f5759c37 Mon Sep 17 00:00:00 2001 From: natsukium Date: Fri, 19 Apr 2024 10:41:23 +0900 Subject: [PATCH 4/6] python311Packages.jupyter-server: 2.13.0 -> 2.14.0 Changelog: https://github.com/jupyter-server/jupyter_server/blob/v2.14.0/CHANGELOG.md --- pkgs/development/python-modules/jupyter-server/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/jupyter-server/default.nix b/pkgs/development/python-modules/jupyter-server/default.nix index fbde4773c80e..f0086e09c661 100644 --- a/pkgs/development/python-modules/jupyter-server/default.nix +++ b/pkgs/development/python-modules/jupyter-server/default.nix @@ -34,14 +34,14 @@ buildPythonPackage rec { pname = "jupyter-server"; - version = "2.13.0"; + version = "2.14.0"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchPypi { pname = "jupyter_server"; inherit version; - hash = "sha256-yAv7BJ6iAFPD2WQcKt1ISLOAc7958XKc6h+u0y/Bx44="; + hash = "sha256-ZZFUzqUSCDQ0/XyTt/4Il696L9C53UdJKCtC6qxK5nc="; }; nativeBuildInputs = [ From 0b06eb29c3d163dd35d4cd61620afda4e3f87eef Mon Sep 17 00:00:00 2001 From: natsukium Date: Fri, 19 Apr 2024 10:42:16 +0900 Subject: [PATCH 5/6] python311Packages.notebook: 7.1.2 -> 7.1.3 Changelog: https://github.com/jupyter/notebook/blob/v7.1.3/CHANGELOG.md --- pkgs/development/python-modules/notebook/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/notebook/default.nix b/pkgs/development/python-modules/notebook/default.nix index 21346a999637..6f09fdae9c67 100644 --- a/pkgs/development/python-modules/notebook/default.nix +++ b/pkgs/development/python-modules/notebook/default.nix @@ -16,14 +16,14 @@ buildPythonPackage rec { pname = "notebook"; - version = "7.1.2"; + version = "7.1.3"; disabled = pythonOlder "3.8"; format = "pyproject"; src = fetchPypi { inherit pname version; - hash = "sha256-78LIAEOQng+qF/zp6bN8BZwDrw7Jmk1NuEyyHZ0uk2o="; + hash = "sha256-Qfzr/0TPe7k3cYCAi8uuBmYptV2MdyLx6751ykT5z8E="; }; postPatch = '' From c02bbebfff3ab9ae3239c61498d1bfbd1d129eae Mon Sep 17 00:00:00 2001 From: natsukium Date: Fri, 19 Apr 2024 22:18:37 +0900 Subject: [PATCH 6/6] python312Packages.jupyter-collaboration: suppress deprecation warnings --- .../python-modules/jupyter-collaboration/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/jupyter-collaboration/default.nix b/pkgs/development/python-modules/jupyter-collaboration/default.nix index 4b3ffb0f70b7..1c01c6d4d1d6 100644 --- a/pkgs/development/python-modules/jupyter-collaboration/default.nix +++ b/pkgs/development/python-modules/jupyter-collaboration/default.nix @@ -64,6 +64,10 @@ buildPythonPackage rec { export HOME=$TEMP ''; + pytestFlagsArray = [ + "-Wignore::DeprecationWarning" + ]; + disabledTests = [ # ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception) "test_dirty"