python3Packages.pwlf: 2.5.2 -> 2.5.3 (#536564)

This commit is contained in:
Austin Horstman
2026-06-30 18:55:12 +00:00
committed by GitHub
@@ -2,32 +2,36 @@
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
setuptools,
wheel,
# dependencies
scipy,
numpy,
pydoe,
# tests
unittestCheckHook,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "pwlf";
version = "2.5.2";
version = "2.5.3";
pyproject = true;
src = fetchFromGitHub {
owner = "cjekel";
repo = "piecewise_linear_fit_py";
tag = "v${version}";
hash = "sha256-gN4AOmtezJ1310TVcKLsJ6rOtv0rGkQ6LjVluIeYEGQ=";
tag = "v${finalAttrs.version}";
hash = "sha256-En8zgImub4hMVphl7c0OkdQJ1LRTEBw0kI8dSs4V+N8=";
};
nativeBuildInputs = [
build-system = [
setuptools
wheel
];
propagatedBuildInputs = [
dependencies = [
scipy
numpy
pydoe
@@ -40,8 +44,10 @@ buildPythonPackage rec {
meta = {
description = "Fit piecewise linear data for a specified number of line segments";
homepage = "https://jekel.me/piecewise_linear_fit_py/";
changelog = "https://github.com/cjekel/piecewise_linear_fit_py/blob/${src.rev}/CHANGELOG.md";
changelog = "https://github.com/cjekel/piecewise_linear_fit_py/blob/${finalAttrs.src.tag}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ doronbehar ];
# See https://github.com/cjekel/piecewise_linear_fit_py/issues/134
broken = lib.versionAtLeast scipy.version "1.18";
};
}
})