diff --git a/pkgs/development/python-modules/bqplot/default.nix b/pkgs/development/python-modules/bqplot/default.nix index cd8495a818e6..09e8ba7da7a0 100644 --- a/pkgs/development/python-modules/bqplot/default.nix +++ b/pkgs/development/python-modules/bqplot/default.nix @@ -15,14 +15,12 @@ buildPythonPackage rec { pname = "bqplot"; - version = "0.12.43"; - - format = "pyproject"; - disabled = pythonOlder "3.6"; + version = "0.12.45"; + pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-8rRp0fA99PUYc8sEBqJLVs30qDX8WqlWB3b8Y2uLNEk="; + hash = "sha256-7eAOn999kuQ8wtG5aRx9oXa2IW/dGHyOkvGde+rKXio="; }; # upstream seems in flux for 0.13 release. they seem to want to migrate from @@ -33,12 +31,12 @@ buildPythonPackage rec { --replace "jupyterlab~=" "jupyterlab>=" ''; - nativeBuildInputs = [ + build-system = [ jupyter-packaging jupyterlab ]; - propagatedBuildInputs = [ + dependencies = [ bqscales ipywidgets numpy diff --git a/pkgs/development/python-modules/ipywidgets/default.nix b/pkgs/development/python-modules/ipywidgets/default.nix index e21b5ac8bbf0..ba8080138a5c 100644 --- a/pkgs/development/python-modules/ipywidgets/default.nix +++ b/pkgs/development/python-modules/ipywidgets/default.nix @@ -16,12 +16,12 @@ buildPythonPackage rec { pname = "ipywidgets"; - version = "8.1.5"; + version = "8.1.7"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-hw5DsaNWVqgMGMlQO78tFoAtsctIfuxvqyfWgzgd3hc="; + hash = "sha256-FfGsBQucy+/UXcz7su9r7QAp2CeGgtVp1xuN2WvuA3Y="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/jupyter-core/default.nix b/pkgs/development/python-modules/jupyter-core/default.nix index ef123821e43f..776befd777ef 100644 --- a/pkgs/development/python-modules/jupyter-core/default.nix +++ b/pkgs/development/python-modules/jupyter-core/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { pname = "jupyter-core"; - version = "5.7.2"; + version = "5.8.1"; disabled = pythonOlder "3.7"; pyproject = true; @@ -24,7 +24,7 @@ buildPythonPackage rec { owner = "jupyter"; repo = "jupyter_core"; tag = "v${version}"; - hash = "sha256-qu25ryZreRPHoubFJTFusGdkTPHbl/yl94g+XU5A5Mc="; + hash = "sha256-opTFYVDqzkjeFC+9IZXPRCoV2QCTm1ze6ldrOZN0aUc="; }; patches = [ ./tests_respect_pythonpath.patch ]; diff --git a/pkgs/development/python-modules/jupyter-events/default.nix b/pkgs/development/python-modules/jupyter-events/default.nix index 2af4cdc6b23c..35cf04742b57 100644 --- a/pkgs/development/python-modules/jupyter-events/default.nix +++ b/pkgs/development/python-modules/jupyter-events/default.nix @@ -2,14 +2,13 @@ lib, buildPythonPackage, fetchFromGitHub, - fetchpatch2, - pythonOlder, # build hatchling, # runtime jsonschema, + packaging, python-json-logger, pyyaml, referencing, @@ -29,29 +28,21 @@ buildPythonPackage rec { pname = "jupyter-events"; - version = "0.11.0"; + version = "0.12.0"; pyproject = true; src = fetchFromGitHub { owner = "jupyter"; repo = "jupyter_events"; tag = "v${version}"; - hash = "sha256-e+BxJc/i5lpljvv6Uwqwrog+nLJ4NOBSqd47Q7DELOE="; + hash = "sha256-l/u0XRP6mjqXywVzRXTWSm4E5a6o2oCdOBGGzLb85Ek="; }; - 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="; - }) - ]; - build-system = [ hatchling ]; dependencies = [ jsonschema + packaging python-json-logger pyyaml referencing diff --git a/pkgs/development/python-modules/jupyter-server/default.nix b/pkgs/development/python-modules/jupyter-server/default.nix index a42c206058f7..67554ad45f3c 100644 --- a/pkgs/development/python-modules/jupyter-server/default.nix +++ b/pkgs/development/python-modules/jupyter-server/default.nix @@ -35,14 +35,14 @@ buildPythonPackage rec { pname = "jupyter-server"; - version = "2.15.0"; + version = "2.16.0"; pyproject = true; disabled = pythonOlder "3.9"; src = fetchPypi { pname = "jupyter_server"; inherit version; - hash = "sha256-nURrhpe09zN6G3zcrEB3i6vdk7phS21oqxwMkY8cQIQ="; + hash = "sha256-ZdS0T98ty73+CqGs5KhC1Kr3RqK3sWgTTVqu01Yht/Y="; }; build-system = [ diff --git a/pkgs/development/python-modules/jupyterlab-git/default.nix b/pkgs/development/python-modules/jupyterlab-git/default.nix index 5c31e1bf2133..d2804be4420e 100644 --- a/pkgs/development/python-modules/jupyterlab-git/default.nix +++ b/pkgs/development/python-modules/jupyterlab-git/default.nix @@ -25,14 +25,14 @@ buildPythonPackage rec { pname = "jupyterlab-git"; - version = "0.51.1"; + version = "0.51.2"; pyproject = true; src = fetchFromGitHub { owner = "jupyterlab"; repo = "jupyterlab-git"; tag = "v${version}"; - hash = "sha256-gAE8Qx+R97D5DCsgXgb1XtnRcdIkKWxe+J+Sk4OnYJM="; + hash = "sha256-YQWS+/GfQzkQ/n0xBq+K8lJ9tjvIRJxa3w3AzNARpDo="; }; nativeBuildInputs = [ @@ -42,7 +42,7 @@ buildPythonPackage rec { offlineCache = yarn-berry_3.fetchYarnBerryDeps { inherit src; - hash = "sha256-r52Hj1Z2CpgH2AjeyGNuRO/WPWfdaY/e1d37jGJacBc="; + hash = "sha256-9GmQv4UYH+uRPgAZed6IJC+7uMKhlXvokVwd248yi/4="; }; build-system = [ diff --git a/pkgs/development/python-modules/jupyterlab-lsp/default.nix b/pkgs/development/python-modules/jupyterlab-lsp/default.nix index 4f39d7fdc536..06ebc31199c7 100644 --- a/pkgs/development/python-modules/jupyterlab-lsp/default.nix +++ b/pkgs/development/python-modules/jupyterlab-lsp/default.nix @@ -9,12 +9,13 @@ buildPythonPackage rec { pname = "jupyterlab-lsp"; - version = "5.1.0"; + version = "5.1.1"; pyproject = true; src = fetchPypi { - inherit pname version; - hash = "sha256-rqyECTrabSDvV64Ol4EcxXlqDKtyN7Mvjt35k8C7A1Y="; + pname = "jupyterlab_lsp"; + inherit version; + hash = "sha256-cjPKc+oPLahZjqM9hMJDY1Rm0a9w3c6M2DNu+V3KCL8="; }; nativeBuildInputs = [ setuptools ]; diff --git a/pkgs/development/python-modules/jupyterlab-widgets/default.nix b/pkgs/development/python-modules/jupyterlab-widgets/default.nix index bf8b0a0141ae..34b5ecf2ef4c 100644 --- a/pkgs/development/python-modules/jupyterlab-widgets/default.nix +++ b/pkgs/development/python-modules/jupyterlab-widgets/default.nix @@ -2,18 +2,19 @@ lib, buildPythonPackage, fetchPypi, - jupyter-packaging, + hatchling, + hatch-jupyter-builder, }: buildPythonPackage rec { pname = "jupyterlab-widgets"; - version = "3.0.13"; + version = "3.0.15"; pyproject = true; src = fetchPypi { pname = "jupyterlab_widgets"; inherit version; - hash = "sha256-opZtOFMowZQraDqM2WuJuN2CyLj4HdqQK7K8BtRvW+0="; + hash = "sha256-KSCIigwpIjUakgKBeVemjAfZlnNQTWzTc0UpnpcbsIs="; }; # jupyterlab is required to build from source but we use the pre-build package @@ -22,17 +23,20 @@ buildPythonPackage rec { --replace '"jupyterlab~=4.0"' "" ''; - nativeBuildInputs = [ jupyter-packaging ]; + build-system = [ + hatchling + hatch-jupyter-builder + ]; # has no tests doCheck = false; pythonImportsCheck = [ "jupyterlab_widgets" ]; - meta = with lib; { + meta = { description = "Jupyter Widgets JupyterLab Extension"; homepage = "https://github.com/jupyter-widgets/ipywidgets"; - license = licenses.bsd3; + license = lib.licenses.bsd3; maintainers = [ ]; }; } diff --git a/pkgs/development/python-modules/jupyterlab/default.nix b/pkgs/development/python-modules/jupyterlab/default.nix index 30eb5286a7c6..d643e1b58d04 100644 --- a/pkgs/development/python-modules/jupyterlab/default.nix +++ b/pkgs/development/python-modules/jupyterlab/default.nix @@ -26,14 +26,14 @@ buildPythonPackage rec { pname = "jupyterlab"; - version = "4.4.1"; + version = "4.4.3"; pyproject = true; src = fetchFromGitHub { owner = "jupyterlab"; repo = "jupyterlab"; tag = "v${version}"; - hash = "sha256-j1K5aBLLGSWER3S0Vojrwdd+9T9vYbp1+XgxYD2NORY="; + hash = "sha256-ZenPoUnUlNLiOVI6tkF/Lq6l3tMA8WXKg9ENwOgS720="; }; nativeBuildInputs = [ @@ -48,7 +48,7 @@ buildPythonPackage rec { offlineCache = yarn-berry_3.fetchYarnBerryDeps { inherit src; sourceRoot = "${src.name}/jupyterlab/staging"; - hash = "sha256-rko09rqT7UQUq/Ddi8lo3V02eJQEEnpjH5RaLSgqj/o="; + hash = "sha256-qW0SiISQhwVPk0wwnEtxB4fJMyVS3wzp/4pS8bPleM4="; }; preBuild = '' @@ -91,7 +91,7 @@ buildPythonPackage rec { pythonImportsCheck = [ "jupyterlab" ]; meta = with lib; { - changelog = "https://github.com/jupyterlab/jupyterlab/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/jupyterlab/jupyterlab/blob/${src.tag}/CHANGELOG.md"; description = "Jupyter lab environment notebook server extension"; license = licenses.bsd3; homepage = "https://jupyter.org/"; diff --git a/pkgs/development/python-modules/notebook/default.nix b/pkgs/development/python-modules/notebook/default.nix index b31ec62cee30..c6cdaf1e7b58 100644 --- a/pkgs/development/python-modules/notebook/default.nix +++ b/pkgs/development/python-modules/notebook/default.nix @@ -27,14 +27,14 @@ buildPythonPackage rec { pname = "notebook"; - version = "7.4.1"; + version = "7.4.3"; pyproject = true; src = fetchFromGitHub { owner = "jupyter"; repo = "notebook"; tag = "v${version}"; - hash = "sha256-Xz9EZgYNJjWsN7tcTmwXLwH9VW7GnI0P/oNT0IFpkoE="; + hash = "sha256-DpGWBV5MeCvoGSBadObVEaYwA5kRmHj8NdVWpJ+pHjA="; }; postPatch = '' @@ -55,7 +55,7 @@ buildPythonPackage rec { offlineCache = yarn-berry_3.fetchYarnBerryDeps { inherit src missingHashes; - hash = "sha256-IFLAwEFsI/GL26XAfiLDyW1mG72gcN2TH651x8Nbrtw="; + hash = "sha256-S0lnRJ+9F1RhymlAOxo3sEJJrHYo5IWeWn80obcgVlM="; }; build-system = [ diff --git a/pkgs/development/python-modules/spyder-kernels/default.nix b/pkgs/development/python-modules/spyder-kernels/default.nix index 556f21fba780..779dd51505c8 100644 --- a/pkgs/development/python-modules/spyder-kernels/default.nix +++ b/pkgs/development/python-modules/spyder-kernels/default.nix @@ -18,14 +18,14 @@ buildPythonPackage rec { pname = "spyder-kernels"; - version = "3.1.0a1"; + version = "3.1.0a2"; pyproject = true; src = fetchFromGitHub { owner = "spyder-ide"; repo = "spyder-kernels"; tag = "v${version}"; - hash = "sha256-/Dd+yCLctOC7ao26EU6LrhBD1SKGd84XLepMdDJnFow="; + hash = "sha256-3P4id66b/URu1iNgLr0TWUz0xToqslhdIw52QCMbsMI="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/widgetsnbextension/default.nix b/pkgs/development/python-modules/widgetsnbextension/default.nix index e717e925cf16..e821fb93e80c 100644 --- a/pkgs/development/python-modules/widgetsnbextension/default.nix +++ b/pkgs/development/python-modules/widgetsnbextension/default.nix @@ -7,12 +7,12 @@ buildPythonPackage rec { pname = "widgetsnbextension"; - version = "4.0.13"; + version = "4.0.14"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-/8tnvJ/r0QI0o2J5X2Q5J/TgwF2TQscntl0jhPj+rLY="; + hash = "sha256-o2KbBOPtuJMhLfhiA4xyMvYpczc4adtQhK7XObQ3ta8="; }; nativeBuildInputs = [ jupyter-packaging ];