From 827bea50532dfc57dbcc91844d6d521b6ddf95a9 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 9 Aug 2025 18:02:49 +0200 Subject: [PATCH] python3Packages.pytest-mockservers: disable failing test The event_loop fixutre was deprecated in pytest-asyncio 0.22 and removed in 1.0. Since pytest-mockservers propagates pytest-asyncio we must not propagate anything but the default pytest-asyncio package. --- pkgs/development/python-modules/pytest-mockservers/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/pytest-mockservers/default.nix b/pkgs/development/python-modules/pytest-mockservers/default.nix index 4f521fc236bf..6f8ad594ab5f 100644 --- a/pkgs/development/python-modules/pytest-mockservers/default.nix +++ b/pkgs/development/python-modules/pytest-mockservers/default.nix @@ -46,6 +46,9 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook ]; + # relies on the removed event_loop fixture + disabledTests = [ "test_udp_server_factory" ]; + pythonImportsCheck = [ "pytest_mockservers" ]; meta = with lib; {