From 23f1074023d246e15f78eaa45a28f1d8f33ee7ce Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 10 Aug 2024 23:18:17 +0200 Subject: [PATCH] python312Packages.dvc-task: disable flaky test - add myself as maintainer --- .../python-modules/dvc-task/default.nix | 21 ++++++++++++------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/dvc-task/default.nix b/pkgs/development/python-modules/dvc-task/default.nix index 39dafd2a9aa6..ea93ceeffda0 100644 --- a/pkgs/development/python-modules/dvc-task/default.nix +++ b/pkgs/development/python-modules/dvc-task/default.nix @@ -1,17 +1,17 @@ { lib, buildPythonPackage, - fetchFromGitHub, - pythonOlder, - setuptools-scm, - kombu, - shortuuid, celery, + fetchFromGitHub, funcy, + kombu, pytest-celery, pytest-mock, pytest-test-utils, pytestCheckHook, + pythonOlder, + setuptools-scm, + shortuuid, }: buildPythonPackage rec { @@ -31,10 +31,10 @@ buildPythonPackage rec { build-system = [ setuptools-scm ]; dependencies = [ - kombu - shortuuid celery funcy + kombu + shortuuid ]; nativeCheckInputs = [ @@ -46,11 +46,16 @@ buildPythonPackage rec { pythonImportsCheck = [ "dvc_task" ]; + disabledTests = [ + # Test is flaky + "test_start_already_exists" + ]; + meta = with lib; { description = "Celery task queue used in DVC"; homepage = "https://github.com/iterative/dvc-task"; changelog = "https://github.com/iterative/dvc-task/releases/tag/${version}"; license = licenses.asl20; - maintainers = [ ]; + maintainers = with maintainers; [ fab ]; }; }