Merge pull request #318251 from natsukium/jupyter/update
jupyter update 2024-06-08
This commit is contained in:
@@ -55,6 +55,8 @@ buildPythonPackage rec {
|
||||
|
||||
disabledTestPaths = [ "tests/test_layers.py" ];
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Flexible and powerful tensor operations for readable and reliable code";
|
||||
homepage = "https://github.com/arogozhnikov/einops";
|
||||
|
||||
@@ -17,12 +17,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ipywidgets";
|
||||
version = "8.1.2";
|
||||
version = "8.1.3";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-0Lm0Hkm66SaoZuYTo5sPAJd0XSufHz3UBmQbSlfsQsk=";
|
||||
hash = "sha256-9fnuquCCsYI86erCV1JylS9A10iJOXKVbcCXAKY5LZw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -35,14 +35,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jupyter-server";
|
||||
version = "2.14.0";
|
||||
version = "2.14.1";
|
||||
pyproject = true;
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "jupyter_server";
|
||||
inherit version;
|
||||
hash = "sha256-ZZFUzqUSCDQ0/XyTt/4Il696L9C53UdJKCtC6qxK5nc=";
|
||||
hash = "sha256-ElWNFY7HoGU7+WzCcrx6154BJ9UDuYLtFEOZNGaU9yY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jupyterlab-widgets";
|
||||
version = "3.0.10";
|
||||
version = "3.0.11";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "jupyterlab_widgets";
|
||||
inherit version;
|
||||
hash = "sha256-BPKsBJdnJ+T50PqRzcLxq4YPll5QTCnb1qZciCydBMA=";
|
||||
hash = "sha256-3VrGeVk8lprynJvtBUwk8mhCuqUTUhFHNnVrwDXe7ic=";
|
||||
};
|
||||
|
||||
# jupyterlab is required to build from source but we use the pre-build package
|
||||
|
||||
@@ -23,14 +23,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "marimo";
|
||||
version = "0.6.14";
|
||||
version = "0.6.17";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-9rbRoBshVK0P8eqdOHyKQCwNkPsp2HiIhzyST3QXJpc=";
|
||||
hash = "sha256-vK4pa7CnVQp78DhEFIkNLNS5y35x9YV2nV3d0JOBTIA=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
@@ -53,6 +53,8 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "mkdocs_jupyter" ];
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Use Jupyter Notebook in mkdocs";
|
||||
homepage = "https://github.com/danielfrg/mkdocs-jupyter";
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
jupyter-client,
|
||||
nbformat,
|
||||
nbconvert,
|
||||
setuptools,
|
||||
# check inputs
|
||||
unittestCheckHook,
|
||||
ipykernel,
|
||||
@@ -17,7 +18,7 @@ let
|
||||
in
|
||||
buildPythonPackage {
|
||||
inherit pname version;
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
@@ -28,7 +29,9 @@ buildPythonPackage {
|
||||
hash = "sha256-Vv6EHX6WlnSmzQAYlO1mHnz5t078z3RQfVfte1+X2pw=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
jupyter-client
|
||||
nbformat
|
||||
nbconvert
|
||||
@@ -52,6 +55,8 @@ buildPythonPackage {
|
||||
|
||||
pythonImportsCheck = [ "nbexec" ];
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Dead-simple tool for executing Jupyter notebooks from the command line";
|
||||
mainProgram = "nbexec";
|
||||
|
||||
@@ -17,14 +17,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "notebook";
|
||||
version = "7.2.0";
|
||||
disabled = pythonOlder "3.8";
|
||||
version = "7.2.1";
|
||||
pyproject = true;
|
||||
|
||||
format = "pyproject";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-NKK6SwitXRnskw23SE+3l0aheEvp4aX4IY+a+GVqFB8=";
|
||||
hash = "sha256-Qoe22ll0CzIXPQHWQfdj0pL0nDDnpRuJxGuoRzEmNB4=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@@ -32,13 +32,13 @@ buildPythonPackage rec {
|
||||
--replace "timeout = 300" ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
build-system = [
|
||||
hatch-jupyter-builder
|
||||
hatchling
|
||||
jupyterlab
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
jupyter-server
|
||||
jupyterlab
|
||||
jupyterlab-server
|
||||
|
||||
@@ -5,13 +5,18 @@
|
||||
fetchPypi,
|
||||
google-api-python-client,
|
||||
google-auth-oauthlib,
|
||||
jsonschema,
|
||||
jupyterhub,
|
||||
mwoauth,
|
||||
pyjwt,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
requests,
|
||||
requests-mock,
|
||||
ruamel-yaml,
|
||||
setuptools,
|
||||
tornado,
|
||||
traitlets,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -34,8 +39,13 @@ buildPythonPackage rec {
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
jsonschema
|
||||
jupyterhub
|
||||
pyjwt
|
||||
requests
|
||||
ruamel-yaml
|
||||
tornado
|
||||
traitlets
|
||||
];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
|
||||
@@ -75,6 +75,8 @@ buildPythonPackage rec {
|
||||
"test_run_pass_with_meta"
|
||||
];
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/chrisjsewell/pytest-notebook/blob/${src.rev}/docs/source/changelog.md";
|
||||
description = "Pytest plugin for regression testing and regenerating Jupyter Notebooks";
|
||||
|
||||
@@ -32,6 +32,8 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "wasabi" ];
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Lightweight console printing and formatting toolkit";
|
||||
homepage = "https://github.com/ines/wasabi";
|
||||
|
||||
@@ -8,12 +8,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "widgetsnbextension";
|
||||
version = "4.0.10";
|
||||
version = "4.0.11";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-ZBlsX/O5qRg6jmmaQif7C3AC8lLIFAmOZsTRzQZEaI8=";
|
||||
hash = "sha256-iyKo8ZEL/RiOWW/n/AXcvYfoEMikugEL2z2oZjc5hHQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ jupyter-packaging ];
|
||||
|
||||
Reference in New Issue
Block a user