Unverified Commit 880bc0e4 authored by OTABI Tomoya's avatar OTABI Tomoya Committed by GitHub
Browse files

Merge pull request #307396 from natsukium/jupyter/update

jupyter related packages updates 2024-04-28
parents 8bc49b5b 4388b09e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -14,14 +14,14 @@

buildPythonPackage rec {
  pname = "anywidget";
  version = "0.9.9";
  version = "0.9.10";
  pyproject = true;

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-vs5tYcVabzlkCeu1p20mDo9LIh+cUeUWFQc3o18WUu8=";
    hash = "sha256-OQpigkCYHAmBPHUjJ53cq4L/T9Moet1UM7eLE2kIkGg=";
  };

  # We do not need the jupyterlab build dependency, because we do not need to
+11 −8
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
, buildPythonPackage
, fetchPypi
, pythonOlder
, jupyter-packaging
, hatchling
, ipywidgets
, numpy
, pillow
@@ -10,14 +10,14 @@

buildPythonPackage rec {
  pname = "ipycanvas";
  version = "0.13.1";
  format = "pyproject";
  version = "0.13.2";
  pyproject = true;

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-+cOUBoG8ODgzkPjEbqXYRF1uEcbaZITDfYnfWuHawTE=";
    hash = "sha256-Ujh9nYf2WVXzlVL7eSfEReXl5JN9hTgU2RDL6O+g+3k=";
  };

  # We relax dependencies here instead of pulling in a patch because upstream
@@ -26,13 +26,16 @@ buildPythonPackage rec {
  #
  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace '"jupyterlab==3.*",' "" \
      --replace 'jupyter_packaging~=' 'jupyter_packaging>='
      --replace-fail '"jupyterlab>=3,<5",' "" \
  '';

  nativeBuildInputs = [ jupyter-packaging ];
  build-system = [
    hatchling
  ];

  propagatedBuildInputs = [ ipywidgets numpy pillow ];
  env.HATCH_BUILD_NO_HOOKS = true;

  dependencies = [ ipywidgets numpy pillow ];

  doCheck = false;  # tests are in Typescript and require `npx` and `chromium`
  pythonImportsCheck = [ "ipycanvas" ];
+4 −4
Original line number Diff line number Diff line
@@ -3,21 +3,21 @@
, fetchPypi
, pythonOlder
, hatchling
, hatch-jupyter-builder
, hatch-vcs
, anywidget
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "ipyniivue";
  version = "2.0.0";
  version = "2.0.1";
  pyproject = true;

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-CvMSUvPyXxPexs0/0sa/xt65RFWtvmYZwGSMIQGvLkc=";
    hash = "sha256-C0mYkguN4ZfxSLqETH3dUwXeoNcicrmAgp6e9IIT43s=";
  };

  # We do not need the build hooks, because we do not need to
@@ -26,7 +26,7 @@ buildPythonPackage rec {

  build-system = [
    hatchling
    hatch-jupyter-builder
    hatch-vcs
  ];

  dependencies = [ anywidget ];
+2 −2
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@

buildPythonPackage rec {
  pname = "jupyterlab-server";
  version = "2.26.0";
  version = "2.27.1";
  pyproject = true;

  disabled = pythonOlder "3.8";
@@ -29,7 +29,7 @@ buildPythonPackage rec {
  src = fetchPypi {
    pname = "jupyterlab_server";
    inherit version;
    hash = "sha256-mzupHPKDf38ST8o21j88qArOK+1ImKY91H5lmMGrAG8=";
    hash = "sha256-CXtaxwm2dscoSsnF43PxGTClYfUs1ahuT8flqcioYx0=";
  };

  postPatch = ''
+2 −2
Original line number Diff line number Diff line
@@ -20,14 +20,14 @@

buildPythonPackage rec {
  pname = "jupyterlab";
  version = "4.1.6";
  version = "4.1.8";
  pyproject = true;

  disabled = pythonOlder "3.8";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-eTXza6JuthUYOk9cK7yleRtRCM4qALVQX4z9EA1TZI4=";
    hash = "sha256-M4St7YaA585QT9Y7i7iaOd8hycdpTZ59xKaHQs2zD5s=";
  };

  nativeBuildInputs = [
Loading