python3Packages.tsfresh: 0.20.3 -> 0.21.0

https://github.com/blue-yonder/tsfresh/blob/refs/tags/v0.21.0/CHANGES.rst

* disable tests on Python verions where pandas-daatareader doesn't work
* add dependency on pywavelets that fixes incompatibility with the
  current version of scipy
This commit is contained in:
Yuriy Taraday 2025-06-13 15:07:07 +02:00
parent 12eab79986
commit 7835da5393

View File

@ -25,11 +25,13 @@
ipython,
notebook,
pandas-datareader,
setuptools,
pywavelets,
}:
buildPythonPackage rec {
pname = "tsfresh";
version = "0.20.3";
version = "0.21.0";
pyproject = true;
disabled = pythonOlder "3.7";
@ -37,8 +39,8 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "blue-yonder";
repo = "tsfresh";
rev = "refs/tags/v${version}";
hash = "sha256-Lw70PDiRVPiTzpnbfKSo7jjfBitCePSy15QL0z7+bMg=";
tag = "v${version}";
hash = "sha256-XwNCI1J/Z6w7nq59s9rSN4eVGgrMDQjPpGFy9SxrTn0=";
};
patches = [
@ -47,6 +49,7 @@ buildPythonPackage rec {
];
dependencies = [
setuptools
requests
numpy
pandas
@ -59,8 +62,12 @@ buildPythonPackage rec {
distributed
stumpy
cloudpickle
pywavelets
] ++ dask.optional-dependencies.dataframe;
# python-datareader is disabled on Python 3.12+ and is require only for checks.
doCheck = !pandas-datareader.disabled;
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
@ -99,7 +106,7 @@ buildPythonPackage rec {
description = "Automatic extraction of relevant features from time series";
mainProgram = "run_tsfresh";
homepage = "https://github.com/blue-yonder/tsfresh";
changelog = "https://github.com/blue-yonder/tsfresh/blob/${src.rev}/CHANGES.rst";
changelog = "https://github.com/blue-yonder/tsfresh/blob/${src.tag}/CHANGES.rst";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ mbalatsko ];
};