Merge pull request #297752 from natsukium/jupyter/update

jupyter related packages updates 2024-03-22
This commit is contained in:
OTABI Tomoya 2024-03-26 14:02:58 +09:00 committed by GitHub
commit 6189b57371
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
15 changed files with 45 additions and 40 deletions

View File

@ -8,7 +8,7 @@
let
pname = "comm";
version = "0.2.1";
version = "0.2.2";
in
buildPythonPackage {
inherit pname version;
@ -18,7 +18,7 @@ buildPythonPackage {
owner = "ipython";
repo = "comm";
rev = "refs/tags/v${version}";
hash = "sha256-iyO3q9E2lYU1rMYTnsa+ZJYh+Hq72LEvE9ynebFIBUk=";
hash = "sha256-51HSSULhbKb1NdLJ//b3Vh6sOLWp0B4KW469htpduqM=";
};
nativeBuildInputs = [

View File

@ -6,29 +6,35 @@
, pytestCheckHook
, tomli
, twine
, pythonOlder
}:
buildPythonPackage rec {
pname = "hatch-jupyter-builder";
version = "0.8.3";
format = "pyproject";
version = "0.9.1";
pyproject = true;
src = fetchFromGitHub {
owner = "jupyterlab";
repo = "hatch-jupyter-builder";
rev = "refs/tags/v${version}";
hash = "sha256-UywhFJ8d1+lSFOF5ECsknDeQuO7ppckdy5IqAT14ius=";
hash = "sha256-QDWHVdjtexUNGRL+dVehdBwahSW2HmNkZKkQyuOghyI=";
};
nativeBuildInputs = [
build-system = [
hatchling
];
dependencies = [
hatchling
];
nativeCheckInputs = [
pytest-mock
pytestCheckHook
tomli
twine
] ++ lib.optionals (pythonOlder "3.11") [
tomli
];
disabledTests = [

View File

@ -11,13 +11,13 @@
buildPythonPackage rec {
pname = "ipyvuetify";
version = "1.9.1";
version = "1.9.2";
pyproject = true;
# GitHub version tries to run npm (Node JS)
src = fetchPypi {
inherit pname version;
hash = "sha256-MAqO6wREtnaVCgG88UXYsKlLpkizbtPqmeQ9u3UVnU0=";
hash = "sha256-kAcL/PR3jThbmfDKMBQRPbcDyZ7GrRwuzDLWE8bC1M4=";
};
# drop pynpm which tries to install node_modules

View File

@ -13,13 +13,13 @@
buildPythonPackage rec {
pname = "jupyter-client";
version = "8.6.0";
version = "8.6.1";
pyproject = true;
src = fetchPypi {
pname = "jupyter_client";
inherit version;
hash = "sha256-BkIkS7g7R2SuYNB+AQ4V8OLSdexOkYqPe4D7vvPKYMc=";
hash = "sha256-6EJRXiurjhkYbYn9/qer0V453VgflOOZ8A4q9aFlLT8=";
};
nativeBuildInputs = [

View File

@ -19,7 +19,7 @@
buildPythonPackage rec {
pname = "jupyter-collaboration";
version = "2.0.4";
version = "2.0.5";
pyproject = true;
disabled = pythonOlder "3.8";
@ -27,21 +27,21 @@ buildPythonPackage rec {
src = fetchPypi {
pname = "jupyter_collaboration";
inherit version;
hash = "sha256-3N3w6JJ0SHa1EYBED/aU1g0IX9nDHf4iseGPwEK1zpw=";
hash = "sha256-aQYZGiya7E3blwVkWx6w2Hb2M0v/z9dOMU72EGW4aCg=";
};
postPatch = ''
sed -i "/^timeout/d" pyproject.toml
'';
nativeBuildInputs = [
build-system = [
hatch-jupyter-builder
hatch-nodejs-version
hatchling
jupyterlab
];
propagatedBuildInputs = [
dependencies = [
jsonschema
jupyter-events
jupyter-server
@ -60,14 +60,15 @@ buildPythonPackage rec {
"jupyter_collaboration"
];
pytestFlagsArray = [
"-W" "ignore::DeprecationWarning"
];
preCheck = ''
export HOME=$TEMP
'';
disabledTests = [
# ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
"test_dirty"
];
__darwinAllowLocalNetworking = true;
meta = with lib; {

View File

@ -11,7 +11,7 @@
buildPythonPackage rec {
pname = "jupyter-core";
version = "5.7.1";
version = "5.7.2";
disabled = pythonOlder "3.7";
pyproject = true;
@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "jupyter";
repo = "jupyter_core";
rev = "refs/tags/v${version}";
hash = "sha256-Uh7slD8mQg2R++wltXrYiPSJnmM5w9tej8GN/0GMBmA=";
hash = "sha256-qu25ryZreRPHoubFJTFusGdkTPHbl/yl94g+XU5A5Mc=";
};
patches = [

View File

@ -25,7 +25,7 @@
buildPythonPackage rec {
pname = "jupyter-events";
version = "0.9.0";
version = "0.10.0";
pyproject = true;
disabled = pythonOlder "3.8";
@ -34,7 +34,7 @@ buildPythonPackage rec {
owner = "jupyter";
repo = "jupyter_events";
rev = "refs/tags/v${version}";
hash = "sha256-LDj6dTtq3npJxLKBQEEwGQFeDPvWF2adHeJhOai2MRU=";
hash = "sha256-8aps8aNgXw+XbDgtCvWw+Ij1Cm1N0G+wcL35ySkofOk=";
};
nativeBuildInputs = [

View File

@ -16,14 +16,14 @@
let self = buildPythonPackage rec {
pname = "jupyter-server-terminals";
version = "0.5.2";
version = "0.5.3";
pyproject = true;
src = fetchFromGitHub {
owner = "jupyter-server";
repo = "jupyter_server_terminals";
rev = "refs/tags/v${version}";
hash = "sha256-e4PtrK2DCJAK+LYmGguwU5hmxdqP5Dws1dPoPOv/WrM=";
hash = "sha256-af7jBscGkbekXgfDxwAfrJSY1uEuIGfzzSsjaPdlYcY=";
};
nativeBuildInputs = [

View File

@ -72,14 +72,14 @@ in
buildPythonPackage rec {
pname = "jupyterhub";
version = "4.0.2";
version = "4.1.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-1ORQ7tjZDfvPDsoI8A8gk6C8503FH3z8C3BX9gI0Gh0=";
hash = "sha256-sKpNnbmpg5gWgLyoZ+15FSV4/oPJqDJ3TuE5Bbe3V0w=";
};
# Most of this only applies when building from source (e.g. js/css assets are

View File

@ -20,14 +20,14 @@
buildPythonPackage rec {
pname = "jupyterlab";
version = "4.1.4";
version = "4.1.5";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-4DyCwSStigiS5Ji53eecUIaLLCZ4Gayj9VzkfFfr6x0=";
hash = "sha256-ya11KQyxC/r/NiS/P7uFIxm0zOTEVmE/jruqmNA1JNs=";
};
nativeBuildInputs = [

View File

@ -19,7 +19,7 @@
let nbclient = buildPythonPackage rec {
pname = "nbclient";
version = "0.9.0";
version = "0.10.0";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -28,7 +28,7 @@ let nbclient = buildPythonPackage rec {
owner = "jupyter";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-m0Tke/JlTeKE3PJZ1rBejra/HPEXCSS0ur/cPiSBJZw=";
hash = "sha256-8OLkpwX4Gpam9VSFUtNS41Ypxe4+2yN3ng6iVY9DSqY=";
};
nativeBuildInputs = [

View File

@ -15,13 +15,13 @@
buildPythonPackage rec {
pname = "nbformat";
version = "5.9.2";
version = "5.10.3";
format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-X5i1uhmX3/F1534MF9XBCpbq7Sy9HeNTPR/DXV4REZI=";
hash = "sha256-YO1ekQ73xiZLh9ZE8naxtJ4kARkw3u9UYFGI3eshFoU=";
};
nativeBuildInputs = [

View File

@ -16,14 +16,14 @@
buildPythonPackage rec {
pname = "notebook";
version = "7.1.1";
version = "7.1.2";
disabled = pythonOlder "3.8";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-gY50IPoh9ALnJq+58C3388EPKUwC44PtGYUoZsMWEIs=";
hash = "sha256-78LIAEOQng+qF/zp6bN8BZwDrw7Jmk1NuEyyHZ0uk2o=";
};
postPatch = ''

View File

@ -36,12 +36,10 @@ buildPythonPackage rec {
dependencies = [
jupyterhub
pyjwt
];
passthru.optional-dependencies = {
azuread = [
pyjwt
];
googlegroups = [
google-api-python-client
google-auth-oauthlib

View File

@ -22,14 +22,14 @@
let self = buildPythonPackage rec {
pname = "pytest-jupyter";
version = "0.9.0";
version = "0.9.1";
pyproject = true;
src = fetchFromGitHub {
owner = "jupyter-server";
repo = "pytest-jupyter";
rev = "refs/tags/v${version}";
hash = "sha256-8pQNtzMylW9b3vk0kp7NcJnXAJKYeoFsHy/lyQFCNzc=";
hash = "sha256-+NtLyTpMpJ+asbiQZNLFs1qLr00UlEOlbxortQ1B4so=";
};
nativeBuildInputs = [