From 8353b3cc6a3e07b4a83518e9d8d90fb2d3492239 Mon Sep 17 00:00:00 2001 From: "Commentator2.0" Date: Tue, 25 Nov 2025 13:27:03 +0100 Subject: [PATCH] tests/functional2: fix non-working failsafe and resulting warning Silly me forgot to add the dependency responsible for handling `@pytest.mark.timeout` failsafes to kill a test if it takes too long, which results in a warning when running f2. This commit adds the required dependency and hence removes the warning Change-Id: I281cad05bb0cf50208f72080cb2bfd8cbfb09d0c --- package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package.nix b/package.nix index f8a3e46e1..c3c57465f 100644 --- a/package.nix +++ b/package.nix @@ -243,6 +243,7 @@ stdenv.mkDerivation (finalAttrs: { ++ lib.optionals finalAttrs.doCheck [ (dontWrapPython p.pytest) p.pytest-xdist + p.pytest-timeout p.ruff p.aiohttp ] @@ -573,6 +574,7 @@ stdenv.mkDerivation (finalAttrs: { # wrapped python instead of build inputs for its python inputs (dontWrapPython p.pytest) p.pytest-xdist + p.pytest-timeout p.ruff p.aiohttp p.python-frontmatter