From 77c68ec66737dd55b52340cfaed3a2105895d60a Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 31 May 2025 16:50:14 +0200 Subject: [PATCH] python3Packages.pyquery: disable failing tests --- pkgs/development/python-modules/pyquery/default.nix | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/pyquery/default.nix b/pkgs/development/python-modules/pyquery/default.nix index 9f11804f2cf0..6e2538d010df 100644 --- a/pkgs/development/python-modules/pyquery/default.nix +++ b/pkgs/development/python-modules/pyquery/default.nix @@ -5,7 +5,6 @@ fetchPypi, lxml, pytestCheckHook, - pythonAtLeast, pythonOlder, requests, webob, @@ -54,9 +53,15 @@ buildPythonPackage rec { "--deselect=tests/test_pyquery.py::TestWebScrappingEncoding::test_get" ]; - disabledTests = lib.optionals (pythonAtLeast "3.12") [ - # https://github.com/gawel/pyquery/issues/249 - "pyquery.pyquery.PyQuery.serialize_dict" + disabledTests = [ + # broken in libxml 2.14 update + # https://github.com/gawel/pyquery/issues/257 + "test_val_for_textarea" + "test_replaceWith" + "test_replaceWith_with_function" + "test_get" + "test_post" + "test_session" ]; meta = with lib; {