python313Packages.ydata-profiling: 4.16.1 -> 4.17.0

This commit is contained in:
Ben Darwin
2025-11-02 15:46:13 -05:00
parent 00f1a98543
commit c51b6785c9

View File

@@ -2,13 +2,13 @@
lib, lib,
buildPythonPackage, buildPythonPackage,
fetchFromGitHub, fetchFromGitHub,
pythonOlder,
pytestCheckHook, pytestCheckHook,
dacite, dacite,
htmlmin, filetype,
imagehash, imagehash,
jinja2, jinja2,
matplotlib, matplotlib,
minify-html,
multimethod, multimethod,
numba, numba,
numpy, numpy,
@@ -31,18 +31,22 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "ydata-profiling"; pname = "ydata-profiling";
version = "4.16.1"; version = "4.17.0";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ydataai"; owner = "ydataai";
repo = "ydata-profiling"; repo = "ydata-profiling";
tag = "v${version}"; 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 = '' preBuild = ''
echo ${version} > VERSION echo ${version} > VERSION
''; '';
@@ -56,15 +60,18 @@ buildPythonPackage rec {
"imagehash" "imagehash"
"matplotlib" "matplotlib"
"multimethod" "multimethod"
"numba"
"numpy" "numpy"
"scipy"
]; ];
dependencies = [ dependencies = [
dacite dacite
htmlmin filetype
imagehash imagehash
jinja2 jinja2
matplotlib matplotlib
minify-html
multimethod multimethod
numba numba
numpy numpy
@@ -91,6 +98,7 @@ buildPythonPackage rec {
disabledTestPaths = [ disabledTestPaths = [
# needs Spark: # needs Spark:
"tests/backends/spark_backend" "tests/backends/spark_backend"
# try to download data: # try to download data:
"tests/issues" "tests/issues"
"tests/unit/test_console.py" "tests/unit/test_console.py"