From 1a671cd65484955b85bc476e6e3c0f90f4881071 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 14 Nov 2024 03:28:59 +0100 Subject: [PATCH] python313Packages.sqlalchemy-utils: disable failing test --- .../python-modules/sqlalchemy-utils/default.nix | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/sqlalchemy-utils/default.nix b/pkgs/development/python-modules/sqlalchemy-utils/default.nix index ec8f69958be3..e0cd899e3877 100644 --- a/pkgs/development/python-modules/sqlalchemy-utils/default.nix +++ b/pkgs/development/python-modules/sqlalchemy-utils/default.nix @@ -22,6 +22,7 @@ pyodbc, pytestCheckHook, python-dateutil, + pythonAtLeast, pythonOlder, pytz, setuptools, @@ -81,10 +82,15 @@ buildPythonPackage rec { psycopg2cffi ]; - disabledTests = [ - "test_create_database_twice" - "test_create_and_drop" - ]; + disabledTests = + [ + "test_create_database_twice" + "test_create_and_drop" + ] + ++ lib.optionals (pythonAtLeast "3.13") [ + # https://github.com/kvesteri/sqlalchemy-utils/issues/764 + "test_render_mock_ddl" + ]; pytestFlagsArray = [ "-W"