From 91d63d47b4f77d20de51dce780bb6a17962f50eb Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Wed, 19 Feb 2025 00:39:40 +0100 Subject: [PATCH] python312Packages.stumpy: mark as broken on aarch64-linux --- .../python-modules/stumpy/default.nix | 24 ++++++++++++------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/stumpy/default.nix b/pkgs/development/python-modules/stumpy/default.nix index 9e6c11b17283..383325b15e0b 100644 --- a/pkgs/development/python-modules/stumpy/default.nix +++ b/pkgs/development/python-modules/stumpy/default.nix @@ -2,16 +2,21 @@ lib, buildPythonPackage, fetchFromGitHub, + + # build-system setuptools, setuptools-scm, + + # dependencies + numba, numpy, scipy, - numba, - pandas, + + # tests dask, distributed, + pandas, pytestCheckHook, - pythonOlder, }: buildPythonPackage rec { @@ -19,8 +24,6 @@ buildPythonPackage rec { version = "1.13.0"; pyproject = true; - disabled = pythonOlder "3.7"; - src = fetchFromGitHub { owner = "TDAmeritrade"; repo = "stumpy"; @@ -34,15 +37,15 @@ buildPythonPackage rec { ]; dependencies = [ + numba numpy scipy - numba ]; nativeCheckInputs = [ - pandas dask distributed + pandas pytestCheckHook ]; @@ -56,9 +59,14 @@ buildPythonPackage rec { meta = { description = "Library that can be used for a variety of time series data mining tasks"; - changelog = "https://github.com/TDAmeritrade/stumpy/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/TDAmeritrade/stumpy/blob/v${version}/CHANGELOG.md"; homepage = "https://github.com/TDAmeritrade/stumpy"; license = lib.licenses.bsd3; maintainers = [ ]; + badPlatforms = [ + # Multiple tests fail with: + # Segmentation fault (core dumped) + "aarch64-linux" + ]; }; }