Commit c51b6785 authored by Ben Darwin's avatar Ben Darwin
Browse files

python313Packages.ydata-profiling: 4.16.1 -> 4.17.0

parent 00f1a985
Loading
Loading
Loading
Loading
+15 −7
Original line number Diff line number Diff line
@@ -2,13 +2,13 @@
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pythonOlder,
  pytestCheckHook,
  dacite,
  htmlmin,
  filetype,
  imagehash,
  jinja2,
  matplotlib,
  minify-html,
  multimethod,
  numba,
  numpy,
@@ -31,18 +31,22 @@

buildPythonPackage rec {
  pname = "ydata-profiling";
  version = "4.16.1";
  version = "4.17.0";
  pyproject = true;

  disabled = pythonOlder "3.7";

  src = fetchFromGitHub {
    owner = "ydataai";
    repo = "ydata-profiling";
    tag = "v${version}";
    hash = "sha256-gmMEW1aAwBar/xR22Wm98hbjP20ty3idvxfqCJ1uRGM=";
    hash = "sha256-5CGFchkXyhALiWRTNEvWsfU+hMXeL/geNO/5i5ZKcmg=";
  };

  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace-fail "setuptools>=72.0.0,<80.0.0" "setuptools" \
      --replace-fail "setuptools-scm>=8.0.0,<9.0.0" "setuptools-scm"
  '';

  preBuild = ''
    echo ${version} > VERSION
  '';
@@ -56,15 +60,18 @@ buildPythonPackage rec {
    "imagehash"
    "matplotlib"
    "multimethod"
    "numba"
    "numpy"
    "scipy"
  ];

  dependencies = [
    dacite
    htmlmin
    filetype
    imagehash
    jinja2
    matplotlib
    minify-html
    multimethod
    numba
    numpy
@@ -91,6 +98,7 @@ buildPythonPackage rec {
  disabledTestPaths = [
    # needs Spark:
    "tests/backends/spark_backend"

    # try to download data:
    "tests/issues"
    "tests/unit/test_console.py"