Unverified Commit 749e11a6 authored by OTABI Tomoya's avatar OTABI Tomoya Committed by GitHub
Browse files

Merge pull request #288582 from natsukium/jupyter/update

jupyter related packages updates 2024-02-14
parents c10f9e8f 3cc0e126
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -22,14 +22,14 @@

buildPythonPackage rec {
  pname = "ipykernel";
  version = "6.29.0";
  version = "6.29.2";
  pyproject = true;

  disabled = pythonOlder "3.8";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-td0wE8q3szDfcSiRyWzRq4aMJ6cVnmBvdiAV6b+M6z8=";
    hash = "sha256-O63igATj/2JO1Xl0lIEWZwYErF9nbRIzlpPzFCF20/A=";
  };

  # debugpy is optional, see https://github.com/ipython/ipykernel/pull/767
+20 −9
Original line number Diff line number Diff line
{ buildPythonPackage
, fetchPypi
, setuptools
, wheel
, comm
, ipykernel
, ipython
, jsonschema
, jupyterlab-widgets
, lib
, nbformat
, pytestCheckHook
, pytz
, traitlets
@@ -13,29 +16,37 @@

buildPythonPackage rec {
  pname = "ipywidgets";
  version = "8.1.1";
  format = "setuptools";
  version = "8.1.2";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-QCEe+1Vq3sb6RQzMKnfVnKRKBg9PnxNoM99ZyfU45ug=";
    hash = "sha256-0Lm0Hkm66SaoZuYTo5sPAJd0XSufHz3UBmQbSlfsQsk=";
  };

  nativeBuildInputs = [
    setuptools
    wheel
  ];

  propagatedBuildInputs = [
    comm
    ipython
    ipykernel
    jupyterlab-widgets
    traitlets
    nbformat
    pytz
    widgetsnbextension
  ];

  nativeCheckInputs = [ pytestCheckHook ];
  nativeCheckInputs = [
    ipykernel
    jsonschema
    pytestCheckHook
    pytz
  ];

  meta = {
    description = "IPython HTML widgets for Jupyter";
    homepage = "https://ipython.org/";
    homepage = "https://github.com/jupyter-widgets/ipywidgets";
    license = lib.licenses.bsd3;
    maintainers = with lib.maintainers; [ fridh ];
  };
+2 −2
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@

buildPythonPackage rec {
  pname = "jupyter-collaboration";
  version = "2.0.1";
  version = "2.0.2";
  pyproject = true;

  disabled = pythonOlder "3.8";
@@ -27,7 +27,7 @@ buildPythonPackage rec {
  src = fetchPypi {
    pname = "jupyter_collaboration";
    inherit version;
    hash = "sha256-Uc57kxhaj/DQi5cX+kjV4PGRcFbxWmzc+B248+1VAYI=";
    hash = "sha256-EpWFsVWCi/6IOuM/zgPIer3arMDGjPPxhm/tZC4aji4=";
  };

  postPatch = ''
+2 −2
Original line number Diff line number Diff line
@@ -8,12 +8,12 @@

buildPythonPackage rec {
  pname = "jupyterlab-lsp";
  version = "5.0.2";
  version = "5.0.3";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-JmiGhOkHUPjvikFimgpAUOc26IFVWqFBP7Xah54GNfE=";
    hash = "sha256-qcijpkZJS+SE1+MXSrHSQV7WD0dzzshHmqW6N+XwS8k=";
  };

  nativeBuildInputs = [
+9 −3
Original line number Diff line number Diff line
@@ -4,15 +4,21 @@

buildPythonPackage rec {
  pname = "jupyterlab-widgets";
  version = "3.0.9";
  format = "setuptools";
  version = "3.0.10";
  pyproject = true;

  src = fetchPypi {
    pname = "jupyterlab_widgets";
    inherit version;
    hash = "sha256-YAWk6XTHvu6EBg/fujQaMhhJUEbeiuPsZIiOX+Gf20w=";
    hash = "sha256-BPKsBJdnJ+T50PqRzcLxq4YPll5QTCnb1qZciCydBMA=";
  };

  # jupyterlab is required to build from source but we use the pre-build package
  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace '"jupyterlab~=4.0"' ""
  '';

  nativeBuildInputs = [
    jupyter-packaging
  ];
Loading