Merge pull request #302331 from natsukium/jupyter/update

jupyter related packages updates 2024-04-07

authored by OTABI Tomoya and committed by GitHub 1ca1bf9b e817a53a

+26 -22
+5 -5
pkgs/development/python-modules/anywidget/default.nix
··· 14 15 buildPythonPackage rec { 16 pname = "anywidget"; 17 - version = "0.9.4"; 18 - format = "pyproject"; 19 20 disabled = pythonOlder "3.7"; 21 22 src = fetchPypi { 23 inherit pname version; 24 - hash = "sha256-97nCw1PohHKW2DtY6RARk1/RlMsc1s5wajuhbY3pQxo="; 25 }; 26 27 # We do not need the jupyterlab build dependency, because we do not need to ··· 32 --replace '"jupyterlab==3.*"' "" 33 ''; 34 35 - nativeBuildInputs = [ 36 hatch-jupyter-builder 37 hatchling 38 ]; 39 40 - propagatedBuildInputs = [ 41 ipywidgets 42 psygnal 43 typing-extensions
··· 14 15 buildPythonPackage rec { 16 pname = "anywidget"; 17 + version = "0.9.6"; 18 + pyproject = true; 19 20 disabled = pythonOlder "3.7"; 21 22 src = fetchPypi { 23 inherit pname version; 24 + hash = "sha256-nhDPAXwcsxwrTBG1kEBj77bDXMb3j/Xckk3FENjCS5E="; 25 }; 26 27 # We do not need the jupyterlab build dependency, because we do not need to ··· 32 --replace '"jupyterlab==3.*"' "" 33 ''; 34 35 + build-system = [ 36 hatch-jupyter-builder 37 hatchling 38 ]; 39 40 + dependencies = [ 41 ipywidgets 42 psygnal 43 typing-extensions
+2 -2
pkgs/development/python-modules/ipykernel/default.nix
··· 22 23 buildPythonPackage rec { 24 pname = "ipykernel"; 25 - version = "6.29.3"; 26 pyproject = true; 27 28 disabled = pythonOlder "3.8"; 29 30 src = fetchPypi { 31 inherit pname version; 32 - hash = "sha256-4UwlDR+eo5iUkCJcwaVCeBsJWhihlEf88rXq99CsW9I="; 33 }; 34 35 # debugpy is optional, see https://github.com/ipython/ipykernel/pull/767
··· 22 23 buildPythonPackage rec { 24 pname = "ipykernel"; 25 + version = "6.29.4"; 26 pyproject = true; 27 28 disabled = pythonOlder "3.8"; 29 30 src = fetchPypi { 31 inherit pname version; 32 + hash = "sha256-PUQHAGD5R1rCCSt2ASP63xBdLiSTwkhItmkafE9Cr1w="; 33 }; 34 35 # debugpy is optional, see https://github.com/ipython/ipykernel/pull/767
+2 -2
pkgs/development/python-modules/ipyparallel/default.nix
··· 18 19 buildPythonPackage rec { 20 pname = "ipyparallel"; 21 - version = "8.7.0"; 22 pyproject = true; 23 24 disabled = pythonOlder "3.8"; 25 26 src = fetchPypi { 27 inherit pname version; 28 - hash = "sha256-QDwJca5Wwrajn/6PNfMcf9FwzhJ5JGKUWc3X96C058M="; 29 }; 30 31 # We do not need the jupyterlab build dependency, because we do not need to
··· 18 19 buildPythonPackage rec { 20 pname = "ipyparallel"; 21 + version = "8.8.0"; 22 pyproject = true; 23 24 disabled = pythonOlder "3.8"; 25 26 src = fetchPypi { 27 inherit pname version; 28 + hash = "sha256-JATVn4ajqqO9J79rV993e/9cE2PBxuYEA3WdFu1C3Hs="; 29 }; 30 31 # We do not need the jupyterlab build dependency, because we do not need to
+2 -2
pkgs/development/python-modules/ipyvuetify/default.nix
··· 11 12 buildPythonPackage rec { 13 pname = "ipyvuetify"; 14 - version = "1.9.3"; 15 pyproject = true; 16 17 # GitHub version tries to run npm (Node JS) 18 src = fetchPypi { 19 inherit pname version; 20 - hash = "sha256-v2EM/liQ6C8o7x+UtbYM153L7Un9596tXKrNoDboQM0="; 21 }; 22 23 # drop pynpm which tries to install node_modules
··· 11 12 buildPythonPackage rec { 13 pname = "ipyvuetify"; 14 + version = "1.9.4"; 15 pyproject = true; 16 17 # GitHub version tries to run npm (Node JS) 18 src = fetchPypi { 19 inherit pname version; 20 + hash = "sha256-wpwfN68wpj2+lLb4w0erAZYa7OrbVhNfGMv0635oiVs="; 21 }; 22 23 # drop pynpm which tries to install node_modules
+2 -2
pkgs/development/python-modules/jupyterlab-server/default.nix
··· 21 22 buildPythonPackage rec { 23 pname = "jupyterlab-server"; 24 - version = "2.25.4"; 25 pyproject = true; 26 27 disabled = pythonOlder "3.8"; ··· 29 src = fetchPypi { 30 pname = "jupyterlab_server"; 31 inherit version; 32 - hash = "sha256-IJgZjh6C4NuYJED5tRNhddc76izUKmSAqm/VAssjxPk="; 33 }; 34 35 postPatch = ''
··· 21 22 buildPythonPackage rec { 23 pname = "jupyterlab-server"; 24 + version = "2.26.0"; 25 pyproject = true; 26 27 disabled = pythonOlder "3.8"; ··· 29 src = fetchPypi { 30 pname = "jupyterlab_server"; 31 inherit version; 32 + hash = "sha256-mzupHPKDf38ST8o21j88qArOK+1ImKY91H5lmMGrAG8="; 33 }; 34 35 postPatch = ''
+2 -2
pkgs/development/python-modules/jupyterlab/default.nix
··· 20 21 buildPythonPackage rec { 22 pname = "jupyterlab"; 23 - version = "4.1.5"; 24 pyproject = true; 25 26 disabled = pythonOlder "3.8"; 27 28 src = fetchPypi { 29 inherit pname version; 30 - hash = "sha256-ya11KQyxC/r/NiS/P7uFIxm0zOTEVmE/jruqmNA1JNs="; 31 }; 32 33 nativeBuildInputs = [
··· 20 21 buildPythonPackage rec { 22 pname = "jupyterlab"; 23 + version = "4.1.6"; 24 pyproject = true; 25 26 disabled = pythonOlder "3.8"; 27 28 src = fetchPypi { 29 inherit pname version; 30 + hash = "sha256-eTXza6JuthUYOk9cK7yleRtRCM4qALVQX4z9EA1TZI4="; 31 }; 32 33 nativeBuildInputs = [
+9 -5
pkgs/development/python-modules/nbformat/default.nix
··· 15 16 buildPythonPackage rec { 17 pname = "nbformat"; 18 - version = "5.10.3"; 19 - format = "pyproject"; 20 disabled = pythonOlder "3.8"; 21 22 src = fetchPypi { 23 inherit pname version; 24 - hash = "sha256-YO1ekQ73xiZLh9ZE8naxtJ4kARkw3u9UYFGI3eshFoU="; 25 }; 26 27 - nativeBuildInputs = [ 28 hatchling 29 hatch-nodejs-version 30 ]; 31 32 - propagatedBuildInputs = [ 33 fastjsonschema 34 jsonschema 35 jupyter-core 36 traitlets 37 ]; 38 39 nativeCheckInputs = [
··· 15 16 buildPythonPackage rec { 17 pname = "nbformat"; 18 + version = "5.10.4"; 19 + pyproject = true; 20 disabled = pythonOlder "3.8"; 21 22 src = fetchPypi { 23 inherit pname version; 24 + hash = "sha256-MiFosU+Tel0RNimI7KwqSVLT2OOiy+sjGVhGMSJtWzo="; 25 }; 26 27 + build-system = [ 28 hatchling 29 hatch-nodejs-version 30 ]; 31 32 + dependencies = [ 33 fastjsonschema 34 jsonschema 35 jupyter-core 36 traitlets 37 + ]; 38 + 39 + pythonImportsCheck = [ 40 + "nbformat" 41 ]; 42 43 nativeCheckInputs = [
+2 -2
pkgs/development/python-modules/pytest-jupyter/default.nix
··· 22 23 let self = buildPythonPackage rec { 24 pname = "pytest-jupyter"; 25 - version = "0.9.1"; 26 pyproject = true; 27 28 src = fetchFromGitHub { 29 owner = "jupyter-server"; 30 repo = "pytest-jupyter"; 31 rev = "refs/tags/v${version}"; 32 - hash = "sha256-+NtLyTpMpJ+asbiQZNLFs1qLr00UlEOlbxortQ1B4so="; 33 }; 34 35 nativeBuildInputs = [
··· 22 23 let self = buildPythonPackage rec { 24 pname = "pytest-jupyter"; 25 + version = "0.10.1"; 26 pyproject = true; 27 28 src = fetchFromGitHub { 29 owner = "jupyter-server"; 30 repo = "pytest-jupyter"; 31 rev = "refs/tags/v${version}"; 32 + hash = "sha256-RTpXBbVCRj0oyZ1TXXDv3M7sAI4kA6f3ouzTr0rXjwY="; 33 }; 34 35 nativeBuildInputs = [