jupyter updates 2025-06-15 (#416876)
This commit is contained in:
commit
dfb58bdda3
@ -15,14 +15,12 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "bqplot";
|
pname = "bqplot";
|
||||||
version = "0.12.43";
|
version = "0.12.45";
|
||||||
|
pyproject = true;
|
||||||
format = "pyproject";
|
|
||||||
disabled = pythonOlder "3.6";
|
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
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
|
# upstream seems in flux for 0.13 release. they seem to want to migrate from
|
||||||
@ -33,12 +31,12 @@ buildPythonPackage rec {
|
|||||||
--replace "jupyterlab~=" "jupyterlab>="
|
--replace "jupyterlab~=" "jupyterlab>="
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
build-system = [
|
||||||
jupyter-packaging
|
jupyter-packaging
|
||||||
jupyterlab
|
jupyterlab
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
dependencies = [
|
||||||
bqscales
|
bqscales
|
||||||
ipywidgets
|
ipywidgets
|
||||||
numpy
|
numpy
|
||||||
|
|||||||
@ -16,12 +16,12 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "ipywidgets";
|
pname = "ipywidgets";
|
||||||
version = "8.1.5";
|
version = "8.1.7";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-hw5DsaNWVqgMGMlQO78tFoAtsctIfuxvqyfWgzgd3hc=";
|
hash = "sha256-FfGsBQucy+/UXcz7su9r7QAp2CeGgtVp1xuN2WvuA3Y=";
|
||||||
};
|
};
|
||||||
|
|
||||||
build-system = [ setuptools ];
|
build-system = [ setuptools ];
|
||||||
|
|||||||
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "jupyter-core";
|
pname = "jupyter-core";
|
||||||
version = "5.7.2";
|
version = "5.8.1";
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
@ -24,7 +24,7 @@ buildPythonPackage rec {
|
|||||||
owner = "jupyter";
|
owner = "jupyter";
|
||||||
repo = "jupyter_core";
|
repo = "jupyter_core";
|
||||||
tag = "v${version}";
|
tag = "v${version}";
|
||||||
hash = "sha256-qu25ryZreRPHoubFJTFusGdkTPHbl/yl94g+XU5A5Mc=";
|
hash = "sha256-opTFYVDqzkjeFC+9IZXPRCoV2QCTm1ze6ldrOZN0aUc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./tests_respect_pythonpath.patch ];
|
patches = [ ./tests_respect_pythonpath.patch ];
|
||||||
|
|||||||
@ -2,14 +2,13 @@
|
|||||||
lib,
|
lib,
|
||||||
buildPythonPackage,
|
buildPythonPackage,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
fetchpatch2,
|
|
||||||
pythonOlder,
|
|
||||||
|
|
||||||
# build
|
# build
|
||||||
hatchling,
|
hatchling,
|
||||||
|
|
||||||
# runtime
|
# runtime
|
||||||
jsonschema,
|
jsonschema,
|
||||||
|
packaging,
|
||||||
python-json-logger,
|
python-json-logger,
|
||||||
pyyaml,
|
pyyaml,
|
||||||
referencing,
|
referencing,
|
||||||
@ -29,29 +28,21 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "jupyter-events";
|
pname = "jupyter-events";
|
||||||
version = "0.11.0";
|
version = "0.12.0";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "jupyter";
|
owner = "jupyter";
|
||||||
repo = "jupyter_events";
|
repo = "jupyter_events";
|
||||||
tag = "v${version}";
|
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 ];
|
build-system = [ hatchling ];
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
jsonschema
|
jsonschema
|
||||||
|
packaging
|
||||||
python-json-logger
|
python-json-logger
|
||||||
pyyaml
|
pyyaml
|
||||||
referencing
|
referencing
|
||||||
|
|||||||
@ -35,14 +35,14 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "jupyter-server";
|
pname = "jupyter-server";
|
||||||
version = "2.15.0";
|
version = "2.16.0";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
disabled = pythonOlder "3.9";
|
disabled = pythonOlder "3.9";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
pname = "jupyter_server";
|
pname = "jupyter_server";
|
||||||
inherit version;
|
inherit version;
|
||||||
hash = "sha256-nURrhpe09zN6G3zcrEB3i6vdk7phS21oqxwMkY8cQIQ=";
|
hash = "sha256-ZdS0T98ty73+CqGs5KhC1Kr3RqK3sWgTTVqu01Yht/Y=";
|
||||||
};
|
};
|
||||||
|
|
||||||
build-system = [
|
build-system = [
|
||||||
|
|||||||
@ -25,14 +25,14 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "jupyterlab-git";
|
pname = "jupyterlab-git";
|
||||||
version = "0.51.1";
|
version = "0.51.2";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "jupyterlab";
|
owner = "jupyterlab";
|
||||||
repo = "jupyterlab-git";
|
repo = "jupyterlab-git";
|
||||||
tag = "v${version}";
|
tag = "v${version}";
|
||||||
hash = "sha256-gAE8Qx+R97D5DCsgXgb1XtnRcdIkKWxe+J+Sk4OnYJM=";
|
hash = "sha256-YQWS+/GfQzkQ/n0xBq+K8lJ9tjvIRJxa3w3AzNARpDo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
@ -42,7 +42,7 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
offlineCache = yarn-berry_3.fetchYarnBerryDeps {
|
offlineCache = yarn-berry_3.fetchYarnBerryDeps {
|
||||||
inherit src;
|
inherit src;
|
||||||
hash = "sha256-r52Hj1Z2CpgH2AjeyGNuRO/WPWfdaY/e1d37jGJacBc=";
|
hash = "sha256-9GmQv4UYH+uRPgAZed6IJC+7uMKhlXvokVwd248yi/4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
build-system = [
|
build-system = [
|
||||||
|
|||||||
@ -9,12 +9,13 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "jupyterlab-lsp";
|
pname = "jupyterlab-lsp";
|
||||||
version = "5.1.0";
|
version = "5.1.1";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
pname = "jupyterlab_lsp";
|
||||||
hash = "sha256-rqyECTrabSDvV64Ol4EcxXlqDKtyN7Mvjt35k8C7A1Y=";
|
inherit version;
|
||||||
|
hash = "sha256-cjPKc+oPLahZjqM9hMJDY1Rm0a9w3c6M2DNu+V3KCL8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ setuptools ];
|
nativeBuildInputs = [ setuptools ];
|
||||||
|
|||||||
@ -2,18 +2,19 @@
|
|||||||
lib,
|
lib,
|
||||||
buildPythonPackage,
|
buildPythonPackage,
|
||||||
fetchPypi,
|
fetchPypi,
|
||||||
jupyter-packaging,
|
hatchling,
|
||||||
|
hatch-jupyter-builder,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "jupyterlab-widgets";
|
pname = "jupyterlab-widgets";
|
||||||
version = "3.0.13";
|
version = "3.0.15";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
pname = "jupyterlab_widgets";
|
pname = "jupyterlab_widgets";
|
||||||
inherit version;
|
inherit version;
|
||||||
hash = "sha256-opZtOFMowZQraDqM2WuJuN2CyLj4HdqQK7K8BtRvW+0=";
|
hash = "sha256-KSCIigwpIjUakgKBeVemjAfZlnNQTWzTc0UpnpcbsIs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# jupyterlab is required to build from source but we use the pre-build package
|
# jupyterlab is required to build from source but we use the pre-build package
|
||||||
@ -22,17 +23,20 @@ buildPythonPackage rec {
|
|||||||
--replace '"jupyterlab~=4.0"' ""
|
--replace '"jupyterlab~=4.0"' ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ jupyter-packaging ];
|
build-system = [
|
||||||
|
hatchling
|
||||||
|
hatch-jupyter-builder
|
||||||
|
];
|
||||||
|
|
||||||
# has no tests
|
# has no tests
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
pythonImportsCheck = [ "jupyterlab_widgets" ];
|
pythonImportsCheck = [ "jupyterlab_widgets" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
description = "Jupyter Widgets JupyterLab Extension";
|
description = "Jupyter Widgets JupyterLab Extension";
|
||||||
homepage = "https://github.com/jupyter-widgets/ipywidgets";
|
homepage = "https://github.com/jupyter-widgets/ipywidgets";
|
||||||
license = licenses.bsd3;
|
license = lib.licenses.bsd3;
|
||||||
maintainers = [ ];
|
maintainers = [ ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -26,14 +26,14 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "jupyterlab";
|
pname = "jupyterlab";
|
||||||
version = "4.4.1";
|
version = "4.4.3";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "jupyterlab";
|
owner = "jupyterlab";
|
||||||
repo = "jupyterlab";
|
repo = "jupyterlab";
|
||||||
tag = "v${version}";
|
tag = "v${version}";
|
||||||
hash = "sha256-j1K5aBLLGSWER3S0Vojrwdd+9T9vYbp1+XgxYD2NORY=";
|
hash = "sha256-ZenPoUnUlNLiOVI6tkF/Lq6l3tMA8WXKg9ENwOgS720=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
@ -48,7 +48,7 @@ buildPythonPackage rec {
|
|||||||
offlineCache = yarn-berry_3.fetchYarnBerryDeps {
|
offlineCache = yarn-berry_3.fetchYarnBerryDeps {
|
||||||
inherit src;
|
inherit src;
|
||||||
sourceRoot = "${src.name}/jupyterlab/staging";
|
sourceRoot = "${src.name}/jupyterlab/staging";
|
||||||
hash = "sha256-rko09rqT7UQUq/Ddi8lo3V02eJQEEnpjH5RaLSgqj/o=";
|
hash = "sha256-qW0SiISQhwVPk0wwnEtxB4fJMyVS3wzp/4pS8bPleM4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
@ -91,7 +91,7 @@ buildPythonPackage rec {
|
|||||||
pythonImportsCheck = [ "jupyterlab" ];
|
pythonImportsCheck = [ "jupyterlab" ];
|
||||||
|
|
||||||
meta = with lib; {
|
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";
|
description = "Jupyter lab environment notebook server extension";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
homepage = "https://jupyter.org/";
|
homepage = "https://jupyter.org/";
|
||||||
|
|||||||
@ -27,14 +27,14 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "notebook";
|
pname = "notebook";
|
||||||
version = "7.4.1";
|
version = "7.4.3";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "jupyter";
|
owner = "jupyter";
|
||||||
repo = "notebook";
|
repo = "notebook";
|
||||||
tag = "v${version}";
|
tag = "v${version}";
|
||||||
hash = "sha256-Xz9EZgYNJjWsN7tcTmwXLwH9VW7GnI0P/oNT0IFpkoE=";
|
hash = "sha256-DpGWBV5MeCvoGSBadObVEaYwA5kRmHj8NdVWpJ+pHjA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
@ -55,7 +55,7 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
offlineCache = yarn-berry_3.fetchYarnBerryDeps {
|
offlineCache = yarn-berry_3.fetchYarnBerryDeps {
|
||||||
inherit src missingHashes;
|
inherit src missingHashes;
|
||||||
hash = "sha256-IFLAwEFsI/GL26XAfiLDyW1mG72gcN2TH651x8Nbrtw=";
|
hash = "sha256-S0lnRJ+9F1RhymlAOxo3sEJJrHYo5IWeWn80obcgVlM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
build-system = [
|
build-system = [
|
||||||
|
|||||||
@ -18,14 +18,14 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "spyder-kernels";
|
pname = "spyder-kernels";
|
||||||
version = "3.1.0a1";
|
version = "3.1.0a2";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "spyder-ide";
|
owner = "spyder-ide";
|
||||||
repo = "spyder-kernels";
|
repo = "spyder-kernels";
|
||||||
tag = "v${version}";
|
tag = "v${version}";
|
||||||
hash = "sha256-/Dd+yCLctOC7ao26EU6LrhBD1SKGd84XLepMdDJnFow=";
|
hash = "sha256-3P4id66b/URu1iNgLr0TWUz0xToqslhdIw52QCMbsMI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
build-system = [ setuptools ];
|
build-system = [ setuptools ];
|
||||||
|
|||||||
@ -7,12 +7,12 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "widgetsnbextension";
|
pname = "widgetsnbextension";
|
||||||
version = "4.0.13";
|
version = "4.0.14";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-/8tnvJ/r0QI0o2J5X2Q5J/TgwF2TQscntl0jhPj+rLY=";
|
hash = "sha256-o2KbBOPtuJMhLfhiA4xyMvYpczc4adtQhK7XObQ3ta8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ jupyter-packaging ];
|
nativeBuildInputs = [ jupyter-packaging ];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user