From 3e27a93247be041e0740f2e353c58a942191074b Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 16 Oct 2024 11:41:29 +0000 Subject: [PATCH] python312Packages.jupyter-collaboration: 2.1.2 -> 2.1.3 --- .../jupyter-collaboration/default.nix | 30 +++++++++---------- 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/pkgs/development/python-modules/jupyter-collaboration/default.nix b/pkgs/development/python-modules/jupyter-collaboration/default.nix index 4e4bfd7b456c..6c0cbb975ca6 100644 --- a/pkgs/development/python-modules/jupyter-collaboration/default.nix +++ b/pkgs/development/python-modules/jupyter-collaboration/default.nix @@ -1,18 +1,24 @@ { lib, buildPythonPackage, - pythonOlder, fetchPypi, + + # build-system hatch-jupyter-builder, hatch-nodejs-version, hatchling, + jupyterlab, + + # dependencies jsonschema, jupyter-events, jupyter-server, jupyter-server-fileid, jupyter-ydoc, - jupyterlab, + pycrdt, pycrdt-websocket, + + # tests pytest-jupyter, pytestCheckHook, websockets, @@ -20,15 +26,13 @@ buildPythonPackage rec { pname = "jupyter-collaboration"; - version = "2.1.2"; + version = "2.1.3"; pyproject = true; - disabled = pythonOlder "3.8"; - src = fetchPypi { pname = "jupyter_collaboration"; inherit version; - hash = "sha256-uLbNYzszaSLnU4VcaDr5KBcRN+Xm/B471s+W9qJibsk="; + hash = "sha256-OjX7C7+eRerggQwKEcqF1CmUH5wGtF8ZavtuvTYTNTk="; }; postPatch = '' @@ -48,6 +52,7 @@ buildPythonPackage rec { jupyter-server jupyter-server-fileid jupyter-ydoc + pycrdt pycrdt-websocket ]; @@ -65,20 +70,13 @@ buildPythonPackage rec { pytestFlagsArray = [ "-Wignore::DeprecationWarning" ]; - disabledTests = [ - # ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception) - "test_dirty" - # causes a hang - "test_rooms" - ]; - __darwinAllowLocalNetworking = true; - meta = with lib; { + meta = { description = "JupyterLab Extension enabling Real-Time Collaboration"; homepage = "https://github.com/jupyterlab/jupyter_collaboration"; changelog = "https://github.com/jupyterlab/jupyter_collaboration/blob/v${version}/CHANGELOG.md"; - license = licenses.bsd3; - maintainers = teams.jupyter.members; + license = lib.licenses.bsd3; + maintainers = lib.teams.jupyter.members; }; }