From b7f6784d7caa111a69550457fb2d74c9817dea2b Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 7 Jan 2025 09:00:35 +0100 Subject: [PATCH] python313Packages.dominate: disable failing tests on Python 3.13 --- pkgs/development/python-modules/dominate/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/dominate/default.nix b/pkgs/development/python-modules/dominate/default.nix index ddb1af0b3071..e2bc2e06b6e8 100644 --- a/pkgs/development/python-modules/dominate/default.nix +++ b/pkgs/development/python-modules/dominate/default.nix @@ -4,6 +4,7 @@ fetchPypi, setuptools, pytestCheckHook, + pythonAtLeast, pythonOlder, }: @@ -25,6 +26,11 @@ buildPythonPackage rec { pythonImportsCheck = [ "dominate" ]; + disabledTestPaths = lib.optionals (pythonAtLeast "3.13") [ + # Tests are failing, https://github.com/Knio/dominate/issues/213 + "tests/test_svg.py" + ]; + meta = with lib; { description = "Library for creating and manipulating HTML documents using an elegant DOM API"; homepage = "https://github.com/Knio/dominate/";