From bbfc767f217cb555d03b034ffe95fc943e98b301 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 4 Jan 2025 02:22:55 +0100 Subject: [PATCH] python313Packages.mypermobil: disable failing test --- .../python-modules/mypermobil/default.nix | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/mypermobil/default.nix b/pkgs/development/python-modules/mypermobil/default.nix index 55c47e6e0691..85c2f56be151 100644 --- a/pkgs/development/python-modules/mypermobil/default.nix +++ b/pkgs/development/python-modules/mypermobil/default.nix @@ -2,6 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, + pythonAtLeast, setuptools, aiocache, aiohttp, @@ -35,10 +36,15 @@ buildPythonPackage rec { pytestCheckHook ]; - disabledTests = [ - # requires networking - "test_region" - ]; + disabledTests = + [ + # requires networking + "test_region" + ] + ++ lib.optionals (pythonAtLeast "3.13") [ + # AssertionError: MyPermobilAPIException not raised + "test_request_item_404" + ]; meta = { changelog = "https://github.com/Permobil-Software/mypermobil/releases/tag/v${version}";