From 79cba4fa1985e287bf63eca4a8d9632d159d29af Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 23 May 2024 12:19:34 +0200 Subject: [PATCH] python312Packages.aioxmpp: disable failing tests on Python 3.12 Upstream is archived --- pkgs/development/python-modules/aioxmpp/default.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pkgs/development/python-modules/aioxmpp/default.nix b/pkgs/development/python-modules/aioxmpp/default.nix index bb101d56d918..9e770ae06522 100644 --- a/pkgs/development/python-modules/aioxmpp/default.nix +++ b/pkgs/development/python-modules/aioxmpp/default.nix @@ -12,6 +12,7 @@ pyasn1, pyopenssl, pytestCheckHook, + pythonAtLeast, pythonOlder, pythonRelaxDepsHook, pytz, @@ -72,6 +73,17 @@ buildPythonPackage rec { disabledTests = [ # AttributeError: 'zoneinfo.ZoneInfo' object has no attribute 'normalize' "test_convert_field_datetime_default_locale" + ] ++ lib.optionals (pythonAtLeast "3.12") [ + # asyncio issues + "test_is_abstract" + "Testbackground" + "TestCapturingXSO" + "Testcheck_x509" + "TestClient" + "TestIntegerType" + "TestStanzaStream" + "TestStanzaToken" + "TestXMLStream" ]; meta = {