Merge pull request #305227 from natsukium/jupyter/update
jupyter related packages updates 2024-04-19
This commit is contained in:
commit
2f7722eff0
|
@ -14,14 +14,14 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "anywidget";
|
pname = "anywidget";
|
||||||
version = "0.9.6";
|
version = "0.9.7";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-nhDPAXwcsxwrTBG1kEBj77bDXMb3j/Xckk3FENjCS5E=";
|
hash = "sha256-mepiQbJVtIHgzEhnjy8MjBOEMYLvlpLJ/wzMSm3+2bE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# We do not need the jupyterlab build dependency, because we do not need to
|
# We do not need the jupyterlab build dependency, because we do not need to
|
||||||
|
|
|
@ -4,37 +4,32 @@
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, hatchling
|
, hatchling
|
||||||
, hatch-jupyter-builder
|
, hatch-jupyter-builder
|
||||||
, ipywidgets
|
, anywidget
|
||||||
, jupyter-ui-poll
|
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "ipyniivue";
|
pname = "ipyniivue";
|
||||||
version = "1.1.0";
|
version = "2.0.0";
|
||||||
format = "pyproject";
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-kym7949VI6C+62p3IOQ2QIzWnuSBcrmySb83oqUwhjI=";
|
hash = "sha256-CvMSUvPyXxPexs0/0sa/xt65RFWtvmYZwGSMIQGvLkc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# We do not need the jupyterlab build dependency, because we do not need to
|
# We do not need the build hooks, because we do not need to
|
||||||
# build any JS components; these are present already in the PyPI artifact.
|
# build any JS components; these are present already in the PyPI artifact.
|
||||||
#
|
env.HATCH_BUILD_NO_HOOKS = true;
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace pyproject.toml \
|
|
||||||
--replace '"jupyterlab==3.*",' ""
|
|
||||||
'';
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
build-system = [
|
||||||
hatchling
|
hatchling
|
||||||
hatch-jupyter-builder
|
hatch-jupyter-builder
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [ ipywidgets jupyter-ui-poll ];
|
dependencies = [ anywidget ];
|
||||||
|
|
||||||
nativeCheckImports = [ pytestCheckHook ];
|
nativeCheckImports = [ pytestCheckHook ];
|
||||||
pythonImportsCheck = [ "ipyniivue" ];
|
pythonImportsCheck = [ "ipyniivue" ];
|
||||||
|
|
|
@ -64,6 +64,10 @@ buildPythonPackage rec {
|
||||||
export HOME=$TEMP
|
export HOME=$TEMP
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
pytestFlagsArray = [
|
||||||
|
"-Wignore::DeprecationWarning"
|
||||||
|
];
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
# ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
|
# ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
|
||||||
"test_dirty"
|
"test_dirty"
|
||||||
|
|
|
@ -7,12 +7,12 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "jupyter-lsp";
|
pname = "jupyter-lsp";
|
||||||
version = "2.2.4";
|
version = "2.2.5";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-XlADMUk0QGU0jmiGCPPG1lTvBtmFa2dlW9e2usnuLVk=";
|
hash = "sha256-eTFHoFrURvgJ/VPvHNGan1JW/Qota3zpQ6mCy09UUAE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
|
@ -34,14 +34,14 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "jupyter-server";
|
pname = "jupyter-server";
|
||||||
version = "2.13.0";
|
version = "2.14.0";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
pname = "jupyter_server";
|
pname = "jupyter_server";
|
||||||
inherit version;
|
inherit version;
|
||||||
hash = "sha256-yAv7BJ6iAFPD2WQcKt1ISLOAc7958XKc6h+u0y/Bx44=";
|
hash = "sha256-ZZFUzqUSCDQ0/XyTt/4Il696L9C53UdJKCtC6qxK5nc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
|
@ -16,14 +16,14 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "notebook";
|
pname = "notebook";
|
||||||
version = "7.1.2";
|
version = "7.1.3";
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-78LIAEOQng+qF/zp6bN8BZwDrw7Jmk1NuEyyHZ0uk2o=";
|
hash = "sha256-Qfzr/0TPe7k3cYCAi8uuBmYptV2MdyLx6751ykT5z8E=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
|
Loading…
Reference in New Issue
Block a user