Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jupyter updates 2024-09-01 #338730

Merged
merged 9 commits into from
Sep 3, 2024
16 changes: 6 additions & 10 deletions pkgs/development/python-modules/ipywidgets/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,35 +2,31 @@
buildPythonPackage,
fetchPypi,
setuptools,
wheel,
comm,
ipykernel,
ipython,
jsonschema,
jupyterlab-widgets,
lib,
pytest7CheckHook,
pytestCheckHook,
pytz,
traitlets,
widgetsnbextension,
}:

buildPythonPackage rec {
pname = "ipywidgets";
version = "8.1.3";
version = "8.1.5";
pyproject = true;

src = fetchPypi {
inherit pname version;
hash = "sha256-9fnuquCCsYI86erCV1JylS9A10iJOXKVbcCXAKY5LZw=";
hash = "sha256-hw5DsaNWVqgMGMlQO78tFoAtsctIfuxvqyfWgzgd3hc=";
};

nativeBuildInputs = [
setuptools
wheel
];
build-system = [ setuptools ];

propagatedBuildInputs = [
dependencies = [
comm
ipython
jupyterlab-widgets
Expand All @@ -41,7 +37,7 @@ buildPythonPackage rec {
nativeCheckInputs = [
ipykernel
jsonschema
pytest7CheckHook
pytestCheckHook
pytz
];

Expand Down
30 changes: 17 additions & 13 deletions pkgs/development/python-modules/jupyter/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,41 +2,45 @@
lib,
buildPythonPackage,
fetchPypi,
notebook,
qtconsole,
jupyter-console,
nbconvert,
setuptools,
ipykernel,
ipywidgets,
jupyter-console,
jupyterlab,
nbconvert,
notebook,
}:

buildPythonPackage rec {
version = "1.0.0";
format = "setuptools";
pname = "jupyter";
version = "1.1.1";
pyproject = true;

src = fetchPypi {
inherit pname version;
sha256 = "d9dc4b3318f310e34c82951ea5d6683f67bed7def4b259fafbfe4f1beb1d8e5f";
hash = "sha256-1VRnvOq96knX42JK9+M9WcN//1PtOjUOGslXvtcx3no=";
};

propagatedBuildInputs = [
notebook
qtconsole
jupyter-console
nbconvert
build-system = [ setuptools ];

dependencies = [
ipykernel
ipywidgets
jupyter-console
jupyterlab
nbconvert
notebook
];

# Meta-package, no tests
doCheck = false;

dontUsePythonImportsCheck = true;

meta = with lib; {
description = "Installs all the Jupyter components in one go";
homepage = "https://jupyter.org/";
license = licenses.bsd3;
platforms = platforms.all;
priority = 100; # This is a metapackage which is unimportant
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@

buildPythonPackage rec {
pname = "jupyterlab-widgets";
version = "3.0.11";
version = "3.0.13";
pyproject = true;

src = fetchPypi {
pname = "jupyterlab_widgets";
inherit version;
hash = "sha256-3VrGeVk8lprynJvtBUwk8mhCuqUTUhFHNnVrwDXe7ic=";
hash = "sha256-opZtOFMowZQraDqM2WuJuN2CyLj4HdqQK7K8BtRvW+0=";
};

# jupyterlab is required to build from source but we use the pre-build package
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/jupyterlab/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@

buildPythonPackage rec {
pname = "jupyterlab";
version = "4.2.4";
version = "4.2.5";
pyproject = true;

disabled = pythonOlder "3.8";

src = fetchPypi {
inherit pname version;
hash = "sha256-NDqXn7lYL9CMhRGCPjIHAygc0HKgBJvNr9x6/tp/JTc=";
hash = "sha256-rn86G4y4i09VAJznn6fAb5nXDNY2Ae5KqRgV0FT0b3U=";
};

build-system = [
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/marimo/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@

buildPythonPackage rec {
pname = "marimo";
version = "0.8.3";
version = "0.8.7";
pyproject = true;

disabled = pythonOlder "3.8";

src = fetchPypi {
inherit pname version;
hash = "sha256-t7VYKInsZ0hYW+svD0vnsMyGcMtIeuWaor8nijyDhn8=";
hash = "sha256-gxfb5MYPbl8KnvIL+93CyYLOaJ6UflqaikXLAWCS55g=";
};

build-system = [ setuptools ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/nbdev/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@

buildPythonPackage rec {
pname = "nbdev";
version = "2.3.27";
version = "2.3.28";
pyproject = true;

disabled = pythonOlder "3.7";

src = fetchPypi {
inherit pname version;
hash = "sha256-vF79mY5dy00xfaGR8L9HPpdxOiEpiJ1AQt42hO9DIMs=";
hash = "sha256-BTZFcX7/mPDgahK9K2WiVQUWK5lFhtH4f4IilgIIwgw=";
};


Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/nbsphinx/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@

buildPythonPackage rec {
pname = "nbsphinx";
version = "0.9.4";
version = "0.9.5";
pyproject = true;

disabled = pythonOlder "3.7";

src = fetchPypi {
inherit pname version;
hash = "sha256-BCpggG/CPVGbxb71nZVXBxORP+RC/adZ1T46r2IQR5Q=";
hash = "sha256-c2kW57Daso/JBPSprjtTqaUMKfzMYynAUvzHSFq88rc=";
};

build-system = [ setuptools ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/notebook/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@

buildPythonPackage rec {
pname = "notebook";
version = "7.2.1";
version = "7.2.2";
pyproject = true;

disabled = pythonOlder "3.8";

src = fetchPypi {
inherit pname version;
hash = "sha256-Qoe22ll0CzIXPQHWQfdj0pL0nDDnpRuJxGuoRzEmNB4=";
hash = "sha256-LvB9QiBCFiOtP+iBGNaHvARQBVVwzdFggUpZzzocUW4=";
};

postPatch = ''
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@

buildPythonPackage rec {
pname = "widgetsnbextension";
version = "4.0.11";
version = "4.0.13";
pyproject = true;

src = fetchPypi {
inherit pname version;
hash = "sha256-iyKo8ZEL/RiOWW/n/AXcvYfoEMikugEL2z2oZjc5hHQ=";
hash = "sha256-/8tnvJ/r0QI0o2J5X2Q5J/TgwF2TQscntl0jhPj+rLY=";
};

nativeBuildInputs = [ jupyter-packaging ];
Expand Down