From fd6d67bd6f60c7171338d7961ba309f2bba55428 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 10 Dec 2023 22:20:37 +0100 Subject: [PATCH] python312Packages.screenlogicpy: disable blocking tests --- pkgs/development/python-modules/screenlogicpy/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/python-modules/screenlogicpy/default.nix b/pkgs/development/python-modules/screenlogicpy/default.nix index 3d3f7d230261..247541831635 100644 --- a/pkgs/development/python-modules/screenlogicpy/default.nix +++ b/pkgs/development/python-modules/screenlogicpy/default.nix @@ -2,6 +2,7 @@ , async-timeout , buildPythonPackage , fetchFromGitHub +, pythonAtLeast , pythonOlder , pytest-asyncio , setuptools @@ -43,6 +44,12 @@ buildPythonPackage rec { "test_discovery_async_discover" "test_gateway_discovery" "test_gateway" + ] ++ lib.optionals (pythonAtLeast "3.12") [ + # Tests block on Python 3.12 + "test_sub_unsub" + "test_attach_existing" + "test_login_async_connect_to_gateway" + "test_login_async_gateway_connect" ]; pythonImportsCheck = [