From 3c8c012a8d0d8091fbe372834c08e6c6d08685d2 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Fri, 9 Jan 2026 14:16:43 -0800 Subject: [PATCH] python314Packages.aiohttp-utils: disable failing tests --- pkgs/development/python-modules/aiohttp-utils/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/development/python-modules/aiohttp-utils/default.nix b/pkgs/development/python-modules/aiohttp-utils/default.nix index 5b4976bd8718..7fae9b8a46d2 100644 --- a/pkgs/development/python-modules/aiohttp-utils/default.nix +++ b/pkgs/development/python-modules/aiohttp-utils/default.nix @@ -2,6 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, + pythonAtLeast, setuptools, aiohttp, python-mimeparse, @@ -48,6 +49,13 @@ buildPythonPackage rec { "test_renders_to_json_by_default" ]; + disabledTestPaths = lib.optionals (pythonAtLeast "3.14") [ + # RuntimeError: There is no current event loop in thread 'MainThread'. + "tests/test_examples.py" + "tests/test_negotiation.py" + "tests/test_routing.py" + ]; + meta = { description = "Handy utilities for building aiohttp.web applications"; homepage = "https://github.com/sloria/aiohttp-utils";