Merge pull request #278613 from natsukium/jupyter/update
python311Packages.jupyter related packages updates 2024-01-04
This commit is contained in:
commit
8be474dbfa
5 changed files with 53 additions and 23 deletions
|
@ -11,7 +11,7 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "jupyter-core";
|
||||
version = "5.5.1";
|
||||
version = "5.7.0";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
pyproject = true;
|
||||
|
@ -20,7 +20,7 @@ buildPythonPackage rec {
|
|||
owner = "jupyter";
|
||||
repo = "jupyter_core";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-X8yBh63JYIuIatLtJU0pOD8Oz/QpJShU0R2VGAgPAa4=";
|
||||
hash = "sha256-y3a2pSk+6QNSVg0skosbf6uHSXpvMubyflP6jQleI44=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
|
|
@ -34,14 +34,14 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "jupyter-server";
|
||||
version = "2.12.1";
|
||||
format = "pyproject";
|
||||
version = "2.12.2";
|
||||
pyproject = true;
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "jupyter_server";
|
||||
inherit version;
|
||||
hash = "sha256-3He33MX8BUesuisoRPAXmACGZyAe6ifGMZ/5JX1wCm0=";
|
||||
hash = "sha256-Xq6GvhUiS1N1zewMNULOcv8g96JSl6KoFmolC7RVpRk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
@ -1,34 +1,64 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, nbformat
|
||||
, sphinx
|
||||
, fetchFromGitHub
|
||||
, hatchling
|
||||
, ipykernel
|
||||
, ipython
|
||||
, ipywidgets
|
||||
, pythonOlder
|
||||
, nbconvert
|
||||
, nbformat
|
||||
, pythonOlder
|
||||
, sphinx
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jupyter-sphinx";
|
||||
version = "0.4.0";
|
||||
format = "setuptools";
|
||||
version = "0.5.3";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
pname = "jupyter_sphinx";
|
||||
hash = "sha256-DBGjjxNDE48sUFHA00xMVF9EgBdMG9QcAlb+gm4LqlU=";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jupyter";
|
||||
repo = "jupyter-sphinx";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-o/i3WravKZPf7uw2H4SVYfAyaZGf19ZJlkmeHCWcGtE=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ nbconvert nbformat sphinx ipywidgets ];
|
||||
nativeBuildInputs = [
|
||||
hatchling
|
||||
];
|
||||
|
||||
doCheck = false;
|
||||
propagatedBuildInputs = [
|
||||
ipykernel
|
||||
ipython
|
||||
ipywidgets
|
||||
nbconvert
|
||||
nbformat
|
||||
sphinx
|
||||
];
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
pythonImportsCheck = [
|
||||
"jupyter_sphinx"
|
||||
];
|
||||
|
||||
env.JUPYTER_PLATFORM_DIRS = 1;
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
export HOME=$TMPDIR
|
||||
'';
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Jupyter Sphinx Extensions";
|
||||
homepage = "https://github.com/jupyter/jupyter-sphinx/";
|
||||
changelog = "https://github.com/jupyter/jupyter-sphinx/releases/tag/${src.rev}";
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
@ -19,14 +19,14 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "jupyterlab";
|
||||
version = "4.0.9";
|
||||
version = "4.0.10";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-nrraQdUmUfYjwMnwad24oh1oSOTIh9jl3cBhMWbtXAs=";
|
||||
hash = "sha256-Rhd+uO3nDcc76SKsmfjvlDvcLfvGoxs1PEvehIo13uE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
@ -32,14 +32,14 @@ let
|
|||
};
|
||||
in buildPythonPackage rec {
|
||||
pname = "nbconvert";
|
||||
version = "7.13.1";
|
||||
version = "7.14.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-Lcgmfb3+7c4tzTTJ4/G1GvGPQ8sQVUnRxaGBiewjuoU=";
|
||||
hash = "sha256-krmkS2Plp/tPb6DvQSYeNcFpJQRszRwEpcgJm/EAR24=";
|
||||
};
|
||||
|
||||
# Add $out/share/jupyter to the list of paths that are used to search for
|
||||
|
|
Loading…
Reference in a new issue