python311Packages.cmaes: disable failing test

This commit is contained in:
Fabian Affolter 2023-10-14 19:14:09 +02:00
parent 7b6de3fa20
commit d2a558ae35

View File

@ -17,23 +17,38 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "CyberAgentAILab";
repo = pname;
repo = "cmaes";
rev = "refs/tags/v${version}";
hash = "sha256-1mXulG/yqNwKQKDFGBh8uxIYOPSsm8+PNp++CSswc50=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ numpy ];
nativeBuildInputs = [
setuptools
];
nativeCheckInputs = [ pytestCheckHook hypothesis ];
propagatedBuildInputs = [
numpy
];
pythonImportsCheck = [ "cmaes" ];
nativeCheckInputs = [
hypothesis
pytestCheckHook
];
pythonImportsCheck = [
"cmaes"
];
disabledTests = [
# Disable time-sensitive test
"test_cma_tell"
];
meta = with lib; {
description = "Python library for CMA evolution strategy";
homepage = "https://github.com/CyberAgentAILab/cmaes";
changelog = "https://github.com/CyberAgentAILab/cmaes/releases/tag/v${version}";
license = licenses.mit;
maintainers = [ maintainers.bcdarwin ];
maintainers = with maintainers; [ bcdarwin ];
};
}