Unverified Commit 688edb8f authored by Florian Klink's avatar Florian Klink Committed by GitHub
Browse files

python3Packages.itables: 2.5.2 -> 2.6.2 (#471456)

parents a06b5919 6b778940
Loading
Loading
Loading
Loading
+50 −8
Original line number Diff line number Diff line
@@ -14,15 +14,24 @@
  # nativeBuildInputs
  nodejs,

  # dependencies
  # optional-dependencies
  ipython,
  numpy,
  pandas,
  polars,
  narwhals,
  matplotlib,
  anywidget,
  traitlets,
  streamlit,
  marimo,
  pyarrow,
  typing-extensions,
}:

buildPythonPackage rec {
  pname = "itables";
  version = "2.5.2";
  version = "2.6.2";

  # itables has 4 different node packages, each with their own
  # package-lock.json, and partially depending on each other.
@@ -30,7 +39,7 @@ buildPythonPackage rec {
  # the source tarball from pypi, which includes the javascript bundle already.
  src = fetchPypi {
    inherit pname version;
    hash = "sha256-7DS7rPv0MFVw6nWzaXDeRC+SQSbzcBwyOlpGAY3oTIo=";
    hash = "sha256-P3PzBBB022Q3+9L3Loq18kyWhXB2JcCF/3FwHUPkxi8=";
  };

  pyproject = true;
@@ -47,11 +56,44 @@ buildPythonPackage rec {
    nodejs
  ];

  dependencies = [
  # shiny and modin omitted due to missing deps
  optional-dependencies = {
    all = [
      pandas
      polars
      narwhals
      matplotlib
      ipython
    numpy
      anywidget
      traitlets
      dash
      streamlit
      marimo
      pyarrow
    ];
    pandas = [ pandas ];
    polars = [ polars ];
    narwhals = [ narwhals ];
    style = [
      pandas
      matplotlib
    ];
    notebook = [ ipython ];
    widget = [
      anywidget
      traitlets
    ];
    dash = [
      dash
      typing-extensions
    ];
    streamlit = [ streamlit ];
    marimo = [ marimo ];
    other_dataframes = [
      narwhals
      pyarrow
    ];
  };

  # no tests in pypi tarball
  doCheck = false;