jupyter updates 2025-06-15 (#416876)

This commit is contained in:
OTABI Tomoya 2025-06-21 12:19:13 +09:00 committed by GitHub
commit dfb58bdda3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
12 changed files with 43 additions and 49 deletions

View File

@ -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

View File

@ -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 ];

View File

@ -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 ];

View File

@ -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

View File

@ -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 = [

View File

@ -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 = [

View File

@ -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 ];

View File

@ -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 = [ ];
};
}

View File

@ -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/";

View File

@ -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 = [

View File

@ -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 ];

View File

@ -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 ];