Merge pull request #153603 from fabaff/fix-pydmd
python3Packages.pydmd: disable failing and long-running tests
This commit is contained in:
commit
7467d467cb
1 changed files with 29 additions and 14 deletions
|
@ -1,18 +1,21 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, python
|
||||
, fetchFromGitHub
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, future
|
||||
, numpy
|
||||
, scipy
|
||||
, matplotlib
|
||||
, nose
|
||||
, numpy
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, scipy
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pydmd";
|
||||
version = "0.4";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mathLab";
|
||||
|
@ -21,19 +24,31 @@ buildPythonPackage rec {
|
|||
sha256 = "1qwa3dyrrm20x0pzr7rklcw7433fd822n4m8bbbdd7z83xh6xm8g";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ future numpy scipy matplotlib ];
|
||||
checkInputs = [ nose ];
|
||||
propagatedBuildInputs = [
|
||||
future
|
||||
matplotlib
|
||||
numpy
|
||||
scipy
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} test.py
|
||||
'';
|
||||
pythonImportsCheck = [ "pydmd" ];
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
meta = {
|
||||
disabledTestPaths = [
|
||||
# Those tests take over 1.5 h on hydra. Also, an error and two failures
|
||||
"tests/test_spdmd.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pydmd"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python Dynamic Mode Decomposition";
|
||||
homepage = "https://mathlab.github.io/PyDMD/";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ yl3dy ];
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ yl3dy ];
|
||||
broken = stdenv.hostPlatform.isAarch64;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue