From 5f3ffd31a74a8e2b2745eb0a6dd69be85f559e4f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 20 May 2024 09:08:56 +0200 Subject: [PATCH] python312Packages.ibm-cloud-sdk-core: disable failing test on Python 3.12 --- .../python-modules/ibm-cloud-sdk-core/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/ibm-cloud-sdk-core/default.nix b/pkgs/development/python-modules/ibm-cloud-sdk-core/default.nix index aa544ecbc39b..277836600a5d 100644 --- a/pkgs/development/python-modules/ibm-cloud-sdk-core/default.nix +++ b/pkgs/development/python-modules/ibm-cloud-sdk-core/default.nix @@ -5,6 +5,7 @@ pyjwt, pytestCheckHook, python-dateutil, + pythonAtLeast, pythonOlder, requests, responses, @@ -51,6 +52,10 @@ buildPythonPackage rec { "test_retry_config_external" # assertion error due to requests brotli support "test_http_client" + ] ++ lib.optionals (pythonAtLeast "3.12") [ + # Tests are blocking or failing + "test_abstract_class_instantiation" + "test_abstract_class_instantiation" ]; disabledTestPaths = [