Merge pull request #144904 from fabaff/fix-flower

python3Packages.flower: disable failing tests
This commit is contained in:
Thiago Kenji Okada 2021-11-06 15:02:52 -03:00 committed by GitHub
commit ba5bcf4c66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,6 +13,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "flower"; pname = "flower";
version = "1.0.0"; version = "1.0.0";
format = "setuptools";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
@ -27,10 +28,10 @@ buildPythonPackage rec {
propagatedBuildInputs = [ propagatedBuildInputs = [
celery celery
pytz
tornado
humanize humanize
prometheus-client prometheus-client
pytz
tornado
]; ];
checkInputs = [ checkInputs = [
@ -38,7 +39,15 @@ buildPythonPackage rec {
pytestCheckHook pytestCheckHook
]; ];
pythonImportsCheck = [ "flower" ]; disabledTests = [
# AssertionError as the celery release can't be detected
"test_default"
"test_with_app"
];
pythonImportsCheck = [
"flower"
];
meta = with lib; { meta = with lib; {
description = "Celery Flower"; description = "Celery Flower";