From 82ed798dba97586dfa01df4def79e6e4616bc1ec Mon Sep 17 00:00:00 2001 From: Alexander Sieg Date: Tue, 5 May 2026 14:20:46 +0200 Subject: [PATCH] python3Packages.celery: remove pytest-xdist do to flaky test results The celery test suite fails on high core system, this is likly do to multiple tests creating or removing the test sqlite database file in there respectiv cleanup step. Fixes: #516582 --- pkgs/development/python-modules/celery/default.nix | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pkgs/development/python-modules/celery/default.nix b/pkgs/development/python-modules/celery/default.nix index 288facb50e23..ad10bfb612cd 100644 --- a/pkgs/development/python-modules/celery/default.nix +++ b/pkgs/development/python-modules/celery/default.nix @@ -34,7 +34,6 @@ pytest-celery, pytest-click, pytest-timeout, - pytest-xdist, pytestCheckHook, python-dateutil, python-memcached, @@ -156,11 +155,6 @@ buildPythonPackage (finalAttrs: { pytest-timeout pytestCheckHook ] - ++ lib.optionals stdenv.hostPlatform.isLinux [ - # Using `pytest-xdist` leads to incomplete tests which hang `pytestRemoveBytecode` - # under `sandbox=false` (the default on Darwin). - pytest-xdist - ] ++ lib.concatAttrValues finalAttrs.passthru.optional-dependencies; disabledTestPaths = [