Skip to content

Commit fb92626

Browse files
authored
python3Packages.pwlf: 2.5.2 -> 2.5.3 (#536564)
2 parents 4717fc3 + dc11e86 commit fb92626

1 file changed

Lines changed: 16 additions & 10 deletions

File tree

pkgs/development/python-modules/pwlf/default.nix

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,32 +2,36 @@
22
lib,
33
buildPythonPackage,
44
fetchFromGitHub,
5+
6+
# build-system
57
setuptools,
6-
wheel,
8+
9+
# dependencies
710
scipy,
811
numpy,
912
pydoe,
13+
14+
# tests
1015
unittestCheckHook,
1116
}:
1217

13-
buildPythonPackage rec {
18+
buildPythonPackage (finalAttrs: {
1419
pname = "pwlf";
15-
version = "2.5.2";
20+
version = "2.5.3";
1621
pyproject = true;
1722

1823
src = fetchFromGitHub {
1924
owner = "cjekel";
2025
repo = "piecewise_linear_fit_py";
21-
tag = "v${version}";
22-
hash = "sha256-gN4AOmtezJ1310TVcKLsJ6rOtv0rGkQ6LjVluIeYEGQ=";
26+
tag = "v${finalAttrs.version}";
27+
hash = "sha256-En8zgImub4hMVphl7c0OkdQJ1LRTEBw0kI8dSs4V+N8=";
2328
};
2429

25-
nativeBuildInputs = [
30+
build-system = [
2631
setuptools
27-
wheel
2832
];
2933

30-
propagatedBuildInputs = [
34+
dependencies = [
3135
scipy
3236
numpy
3337
pydoe
@@ -40,8 +44,10 @@ buildPythonPackage rec {
4044
meta = {
4145
description = "Fit piecewise linear data for a specified number of line segments";
4246
homepage = "https://jekel.me/piecewise_linear_fit_py/";
43-
changelog = "https://github.com/cjekel/piecewise_linear_fit_py/blob/${src.rev}/CHANGELOG.md";
47+
changelog = "https://github.com/cjekel/piecewise_linear_fit_py/blob/${finalAttrs.src.tag}/CHANGELOG.md";
4448
license = lib.licenses.mit;
4549
maintainers = with lib.maintainers; [ doronbehar ];
50+
# See https://github.com/cjekel/piecewise_linear_fit_py/issues/134
51+
broken = lib.versionAtLeast scipy.version "1.18";
4652
};
47-
}
53+
})

0 commit comments

Comments
 (0)