From c51b6785c98da549aab072de35e815f08a982710 Mon Sep 17 00:00:00 2001 From: Ben Darwin Date: Sun, 2 Nov 2025 15:46:13 -0500 Subject: [PATCH] python313Packages.ydata-profiling: 4.16.1 -> 4.17.0 --- .../ydata-profiling/default.nix | 22 +++++++++++++------ 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/ydata-profiling/default.nix b/pkgs/development/python-modules/ydata-profiling/default.nix index 17ae6e388cf9..3ac9241d3336 100644 --- a/pkgs/development/python-modules/ydata-profiling/default.nix +++ b/pkgs/development/python-modules/ydata-profiling/default.nix @@ -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"