From 0c358b0ad3d4a08566d941b11827748503791bb9 Mon Sep 17 00:00:00 2001 From: Grimmauld Date: Sat, 31 May 2025 14:39:30 +0200 Subject: [PATCH] python313Packages.beautifulsoup4: disable failing tests Broken in #396195, no new upstream release that is fixing these issues yet. --- .../development/python-modules/beautifulsoup4/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/development/python-modules/beautifulsoup4/default.nix b/pkgs/development/python-modules/beautifulsoup4/default.nix index 9c6875178742..26e61ac2257f 100644 --- a/pkgs/development/python-modules/beautifulsoup4/default.nix +++ b/pkgs/development/python-modules/beautifulsoup4/default.nix @@ -68,6 +68,14 @@ buildPythonPackage rec { pytestCheckHook ] ++ lib.flatten (lib.attrValues optional-dependencies); + disabledTests = [ + # these tests fail with libxml 2.14.3 + # https://bugs.launchpad.net/beautifulsoup/+bug/2112242 + "test_real_xhtml_document" + "test_processing_instruction" + "test_out_of_range_entity" + ]; + pythonImportsCheck = [ "bs4" ]; passthru.tests = {