From f7d85f7b37fdbce3afb9b4aec3f9b4e00cd7e576 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 25 Jun 2026 10:38:05 +0200 Subject: [PATCH] python3Packages.rq: disable racy test It reaps a worker and checks if it has been removed right after, but this is apparently racy. (cherry picked from commit 56913ae775f990b0bc49730e5fad21c64942c917) --- pkgs/development/python-modules/rq/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/rq/default.nix b/pkgs/development/python-modules/rq/default.nix index 8f3c55996e7d..e3775aa4170f 100644 --- a/pkgs/development/python-modules/rq/default.nix +++ b/pkgs/development/python-modules/rq/default.nix @@ -76,6 +76,10 @@ buildPythonPackage (finalAttrs: { # PermissionError: [Errno 13] Permission denied: '/tmp/rq-tests.txt' "test_deleted_jobs_arent_executed" "test_suspend_worker_execution" + ] + ++ lib.optionals stdenv.hostPlatform.isLinux [ + # no delay between reaping worker and checking; racy + "test_reap_workers" ]; pythonImportsCheck = [ "rq" ];