From 0c912107eee197ef22af405944df9146db008007 Mon Sep 17 00:00:00 2001 From: natsukium Date: Sat, 18 Jan 2025 16:20:50 +0900 Subject: [PATCH 01/15] python312Packages.bash-kernel: 0.9.3 -> 0.10.0 Changelog: https://github.com/takluyver/bash_kernel/releases/tag/0.10.0 --- .../python-modules/bash-kernel/default.nix | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/bash-kernel/default.nix b/pkgs/development/python-modules/bash-kernel/default.nix index 0df270f8a2b7..ff088a618e1d 100644 --- a/pkgs/development/python-modules/bash-kernel/default.nix +++ b/pkgs/development/python-modules/bash-kernel/default.nix @@ -3,6 +3,7 @@ buildPythonPackage, fetchPypi, flit-core, + filetype, ipykernel, python, pexpect, @@ -12,13 +13,13 @@ 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 = [ @@ -28,9 +29,10 @@ buildPythonPackage rec { }) ]; - nativeBuildInputs = [ flit-core ]; + build-system = [ flit-core ]; - propagatedBuildInputs = [ + dependencies = [ + filetype ipykernel pexpect ]; @@ -58,11 +60,11 @@ buildPythonPackage rec { 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 ]; }; } From 2d989c047998a0ecf2f8d9c75ba67a17c258aab7 Mon Sep 17 00:00:00 2001 From: natsukium Date: Sat, 18 Jan 2025 16:21:41 +0900 Subject: [PATCH 02/15] python312Packages.jupysql: 0.10.16 -> 0.10.17 Diff: https://github.com/ploomber/jupysql/compare/refs/tags/0.10.16...0.10.17 Changelog: https://github.com/ploomber/jupysql/blob/0.10.17/CHANGELOG.md --- pkgs/development/python-modules/jupysql/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/jupysql/default.nix b/pkgs/development/python-modules/jupysql/default.nix index 6c2110d5df38..4e4ca10db874 100644 --- a/pkgs/development/python-modules/jupysql/default.nix +++ b/pkgs/development/python-modules/jupysql/default.nix @@ -37,7 +37,7 @@ buildPythonPackage rec { pname = "jupysql"; - version = "0.10.16"; + version = "0.10.17"; pyproject = true; @@ -45,7 +45,7 @@ buildPythonPackage rec { owner = "ploomber"; repo = "jupysql"; tag = version; - hash = "sha256-TIISiGvspRG0d/4nEyi8Tiu0y80D1Rf8puDEkGIeA08="; + hash = "sha256-0lrcNKDKmM3Peodc9ZzgqkzwPHPLMxxXHAj4OOKWZxA="; }; pythonRelaxDeps = [ "sqlalchemy" ]; From 65f44ca919186dcaa1c1d18157a890714a97732b Mon Sep 17 00:00:00 2001 From: natsukium Date: Sat, 18 Jan 2025 16:22:04 +0900 Subject: [PATCH 03/15] python312Packages.jupyter-events: 0.10.0 -> 0.11.0 Diff: https://github.com/jupyter/jupyter_events/compare/refs/tags/v0.10.0...v0.11.0 Changelog: https://github.com/jupyter/jupyter_events/releases/tag/v0.11.0 --- .../python-modules/jupyter-events/default.nix | 28 +++++++++++++------ 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/jupyter-events/default.nix b/pkgs/development/python-modules/jupyter-events/default.nix index 93b6129e384b..0f7caeb8b45d 100644 --- a/pkgs/development/python-modules/jupyter-events/default.nix +++ b/pkgs/development/python-modules/jupyter-events/default.nix @@ -2,6 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, + fetchpatch2, pythonOlder, # build @@ -12,6 +13,8 @@ python-json-logger, pyyaml, referencing, + rfc3339-validator, + rfc3986-validator, traitlets, # optionals @@ -26,25 +29,34 @@ 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="; + }) + ]; - propagatedBuildInputs = [ + build-system = [ hatchling ]; + + dependencies = [ jsonschema python-json-logger pyyaml referencing + rfc3339-validator + rfc3986-validator traitlets ] ++ jsonschema.optional-dependencies.format-nongpl; @@ -67,12 +79,12 @@ buildPythonPackage rec { 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; + license = lib.licenses.bsd3; maintainers = [ ]; }; } From be1859bf9613c124d50a7c5ee2be8bc38af56a7d Mon Sep 17 00:00:00 2001 From: natsukium Date: Sat, 18 Jan 2025 16:22:17 +0900 Subject: [PATCH 04/15] python312Packages.jupyter-server: 2.14.2 -> 2.15.0 Changelog: https://github.com/jupyter-server/jupyter_server/blob/v2.15.0/CHANGELOG.md --- .../python-modules/jupyter-server/default.nix | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/jupyter-server/default.nix b/pkgs/development/python-modules/jupyter-server/default.nix index 071b3707225b..2809ca2e619e 100644 --- a/pkgs/development/python-modules/jupyter-server/default.nix +++ b/pkgs/development/python-modules/jupyter-server/default.nix @@ -35,22 +35,22 @@ 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 @@ -74,6 +74,8 @@ buildPythonPackage rec { # https://github.com/NixOS/nixpkgs/issues/299427 stripExclude = lib.optionals stdenv.hostPlatform.isDarwin [ "favicon.ico" ]; + pythonImportsCheck = [ "jupyter_server" ]; + nativeCheckInputs = [ ipykernel pytestCheckHook @@ -123,12 +125,12 @@ buildPythonPackage rec { __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; }; } From 6d34e47c40e8032942ff9baf5b0723e8330595e6 Mon Sep 17 00:00:00 2001 From: natsukium Date: Sat, 18 Jan 2025 16:22:35 +0900 Subject: [PATCH 05/15] python312Packages.jupyterhub-ldapauthenticator: 2.0.1 -> 2.0.2 Diff: https://github.com/jupyterhub/ldapauthenticator/compare/refs/tags/2.0.1...2.0.2 Changelog: https://github.com/jupyterhub/ldapauthenticator/blob/2.0.2/CHANGELOG.md --- .../python-modules/jupyterhub-ldapauthenticator/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/jupyterhub-ldapauthenticator/default.nix b/pkgs/development/python-modules/jupyterhub-ldapauthenticator/default.nix index 0121e2e6c2d3..114177120de6 100644 --- a/pkgs/development/python-modules/jupyterhub-ldapauthenticator/default.nix +++ b/pkgs/development/python-modules/jupyterhub-ldapauthenticator/default.nix @@ -12,14 +12,14 @@ 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 ]; From 1cf71b0533be4cf57321fba81d333c38f5d47bdc Mon Sep 17 00:00:00 2001 From: natsukium Date: Sat, 18 Jan 2025 16:22:47 +0900 Subject: [PATCH 06/15] python312Packages.jupyterlab: 4.2.5 -> 4.3.4 Changelog: https://github.com/jupyterlab/jupyterlab/blob/v4.3.4/CHANGELOG.md --- .../python-modules/jupyterlab/default.nix | 46 +++++++++++-------- 1 file changed, 27 insertions(+), 19 deletions(-) diff --git a/pkgs/development/python-modules/jupyterlab/default.nix b/pkgs/development/python-modules/jupyterlab/default.nix index 8105bf1ebc6f..119d1decc47b 100644 --- a/pkgs/development/python-modules/jupyterlab/default.nix +++ b/pkgs/development/python-modules/jupyterlab/default.nix @@ -6,29 +6,32 @@ hatchling, async-lru, httpx, - packaging, - tornado, + importlib-metadata, ipykernel, + jinja2, jupyter-core, jupyter-lsp, - jupyterlab-server, jupyter-server, + jupyterlab-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 = [ @@ -36,19 +39,24 @@ buildPythonPackage rec { 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" From 8cb5fba3d3e3ca26f21de6b34503d3406e503381 Mon Sep 17 00:00:00 2001 From: natsukium Date: Sat, 18 Jan 2025 16:23:05 +0900 Subject: [PATCH 07/15] python312Packages.livelossplot: 0.5.5 -> 0.5.6 Diff: https://github.com/stared/livelossplot/compare/v0.5.5...v0.5.6 --- pkgs/development/python-modules/livelossplot/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/livelossplot/default.nix b/pkgs/development/python-modules/livelossplot/default.nix index 5c213fae0db5..a329967b2a51 100644 --- a/pkgs/development/python-modules/livelossplot/default.nix +++ b/pkgs/development/python-modules/livelossplot/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "livelossplot"; - version = "0.5.5"; + version = "0.5.6"; format = "setuptools"; disabled = pythonOlder "3.6"; @@ -23,7 +23,7 @@ buildPythonPackage rec { owner = "stared"; repo = pname; rev = "v${version}"; - sha256 = "sha256-YU8vX4SubI6txmC/i5fOjcvWfuDFm8+SPmie8Eb1qRs="; + sha256 = "sha256-qC1FBFJyf2IlDIffJ5Xs89WcN/GFA/8maODhc1u2xhA="; }; propagatedBuildInputs = [ From 160d2cb80ab21f82bff97fa3f6d6d7bcfc74c8e5 Mon Sep 17 00:00:00 2001 From: natsukium Date: Sat, 18 Jan 2025 16:23:13 +0900 Subject: [PATCH 08/15] python312Packages.marimo: 0.10.9 -> 0.10.14 Changelog: https://github.com/marimo-team/marimo/releases/tag/0.10.14 --- .../python-modules/marimo/default.nix | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/marimo/default.nix b/pkgs/development/python-modules/marimo/default.nix index a2d391e263e7..75dddd820fd5 100644 --- a/pkgs/development/python-modules/marimo/default.nix +++ b/pkgs/development/python-modules/marimo/default.nix @@ -2,6 +2,7 @@ lib, buildPythonPackage, fetchPypi, + pythonOlder, # build-system hatchling, @@ -15,14 +16,16 @@ narwhals, packaging, psutil, + pycrdt, pygments, pymdown-extensions, + pyyaml, ruff, starlette, tomlkit, + typing-extensions, uvicorn, websockets, - pyyaml, # tests versionCheckHook, @@ -30,18 +33,21 @@ 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 @@ -52,15 +58,16 @@ buildPythonPackage rec { narwhals packaging psutil + pycrdt pygments pymdown-extensions + pyyaml ruff starlette tomlkit uvicorn websockets - pyyaml - ]; + ] ++ lib.optionals (pythonOlder "3.11") [ typing-extensions ]; pythonImportsCheck = [ "marimo" ]; From 251026db0fa025aa15ca83638ee1370347d290ab Mon Sep 17 00:00:00 2001 From: natsukium Date: Sat, 18 Jan 2025 16:23:35 +0900 Subject: [PATCH 09/15] python312Packages.nbclassic: 1.1.0 -> 1.2.0 --- pkgs/development/python-modules/nbclassic/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/nbclassic/default.nix b/pkgs/development/python-modules/nbclassic/default.nix index 6ac18bef5937..dd7576aebbea 100644 --- a/pkgs/development/python-modules/nbclassic/default.nix +++ b/pkgs/development/python-modules/nbclassic/default.nix @@ -17,14 +17,14 @@ 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 = [ From 52ce6c2877317a88d4827c0c9b9b511d467b1f9b Mon Sep 17 00:00:00 2001 From: natsukium Date: Sat, 18 Jan 2025 16:23:47 +0900 Subject: [PATCH 10/15] python312Packages.nbclient: 0.10.0 -> 0.10.2 Diff: https://github.com/jupyter/nbclient/compare/refs/tags/v0.10.0...v0.10.2 --- .../python-modules/nbclient/default.nix | 26 +++++++++---------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/pkgs/development/python-modules/nbclient/default.nix b/pkgs/development/python-modules/nbclient/default.nix index 809b5af89c17..a6be3e24a047 100644 --- a/pkgs/development/python-modules/nbclient/default.nix +++ b/pkgs/development/python-modules/nbclient/default.nix @@ -1,15 +1,14 @@ { - async-generator, buildPythonPackage, fetchFromGitHub, hatchling, ipykernel, ipywidgets, jupyter-client, + jupyter-core, lib, nbconvert, nbformat, - nest-asyncio, pytest-asyncio, pytestCheckHook, pythonOlder, @@ -21,26 +20,25 @@ 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 - traitlets - nbformat - nest-asyncio + dependencies = [ jupyter-client + jupyter-core + nbformat + traitlets ]; # circular dependencies if enabled by default @@ -66,11 +64,11 @@ let }); }; - 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 = [ ]; }; }; From fe79c96ab486cb238eda4e928fcf04c84b91ef7a Mon Sep 17 00:00:00 2001 From: natsukium Date: Sat, 18 Jan 2025 16:23:56 +0900 Subject: [PATCH 11/15] python312Packages.nbconvert: 7.16.4 -> 7.16.5 Changelog: https://github.com/jupyter/nbconvert/blob/v7.16.5/CHANGELOG.md --- .../python-modules/nbconvert/default.nix | 41 ++++++++++--------- 1 file changed, 21 insertions(+), 20 deletions(-) diff --git a/pkgs/development/python-modules/nbconvert/default.nix b/pkgs/development/python-modules/nbconvert/default.nix index d13414c12567..8b012a4100e1 100644 --- a/pkgs/development/python-modules/nbconvert/default.nix +++ b/pkgs/development/python-modules/nbconvert/default.nix @@ -17,7 +17,6 @@ packaging, pandocfilters, pygments, - tinycss2, traitlets, importlib-metadata, flaky, @@ -35,14 +34,14 @@ let 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 @@ -56,24 +55,26 @@ buildPythonPackage rec { 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) From 1552b6104ef272ab47da591e213f42ddc1ffbf4d Mon Sep 17 00:00:00 2001 From: natsukium Date: Sat, 18 Jan 2025 16:24:28 +0900 Subject: [PATCH 12/15] python312Packages.notebook: 7.2.2 -> 7.3.2 Changelog: https://github.com/jupyter/notebook/blob/v7.3.2/CHANGELOG.md --- pkgs/development/python-modules/notebook/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/notebook/default.nix b/pkgs/development/python-modules/notebook/default.nix index 9e796f6bf537..b86e529972f9 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.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 = '' From 1967bc98d3ea2f8be7af49b8a65d7e7082549ca3 Mon Sep 17 00:00:00 2001 From: natsukium Date: Sat, 18 Jan 2025 16:25:00 +0900 Subject: [PATCH 13/15] python312Packages.pycrdt-websocket: 0.15.1 -> 0.15.3 Diff: https://github.com/jupyter-server/pycrdt-websocket/compare/refs/tags/v0.15.1...v0.15.3 Changelog: https://github.com/jupyter-server/pycrdt-websocket/blob/refs/tags/v0.15.3/CHANGELOG.md --- pkgs/development/python-modules/pycrdt-websocket/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pycrdt-websocket/default.nix b/pkgs/development/python-modules/pycrdt-websocket/default.nix index cbf35e5c574d..f9a62593a4db 100644 --- a/pkgs/development/python-modules/pycrdt-websocket/default.nix +++ b/pkgs/development/python-modules/pycrdt-websocket/default.nix @@ -26,14 +26,14 @@ 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 ]; From 23b95cf5dfbc4794f5dff38ff6b868850bfbbd6f Mon Sep 17 00:00:00 2001 From: natsukium Date: Sat, 18 Jan 2025 16:50:28 +0900 Subject: [PATCH 14/15] python312Packages.jupyter-events: add teams.jupyter.members as maintainers --- pkgs/development/python-modules/jupyter-events/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/jupyter-events/default.nix b/pkgs/development/python-modules/jupyter-events/default.nix index 0f7caeb8b45d..439de0c2224a 100644 --- a/pkgs/development/python-modules/jupyter-events/default.nix +++ b/pkgs/development/python-modules/jupyter-events/default.nix @@ -85,6 +85,6 @@ buildPythonPackage rec { mainProgram = "jupyter-events"; homepage = "https://github.com/jupyter/jupyter_events"; license = lib.licenses.bsd3; - maintainers = [ ]; + maintainers = lib.teams.jupyter.members; }; } From 57ab9a16eb4baf741b17ee3301dd1a5743815244 Mon Sep 17 00:00:00 2001 From: natsukium Date: Sat, 18 Jan 2025 17:45:39 +0900 Subject: [PATCH 15/15] python312Packages.livelossplot: refactor --- .../python-modules/livelossplot/default.nix | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/pkgs/development/python-modules/livelossplot/default.nix b/pkgs/development/python-modules/livelossplot/default.nix index a329967b2a51..80ef631363e9 100644 --- a/pkgs/development/python-modules/livelossplot/default.nix +++ b/pkgs/development/python-modules/livelossplot/default.nix @@ -2,12 +2,11 @@ lib, buildPythonPackage, fetchFromGitHub, - pythonOlder, + setuptools, pytestCheckHook, bokeh, ipython, matplotlib, - numpy, nbconvert, nbformat, }: @@ -15,34 +14,35 @@ buildPythonPackage rec { pname = "livelossplot"; version = "0.5.6"; - format = "setuptools"; - - disabled = pythonOlder "3.6"; + pyproject = true; src = fetchFromGitHub { owner = "stared"; repo = pname; - rev = "v${version}"; - sha256 = "sha256-qC1FBFJyf2IlDIffJ5Xs89WcN/GFA/8maODhc1u2xhA="; + 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 ]; }; }