From 0bcaa8a46495585bdc332ee93a68bb540f75bd77 Mon Sep 17 00:00:00 2001 From: Keegan Carruthers-Smith Date: Tue, 22 Aug 2023 13:25:39 +0200 Subject: [PATCH] python310Packages.readability-lxml: disable broken test on darwin (#250407) * python310Packages.readability-lxml: disable broken test on darwin This test is broken on darwin. The test is fixed in master for readability-lxml, but the fix requires pulling in a few dependencies which are not packaged in nixpkgs. * Update pkgs/development/python-modules/readability-lxml/default.nix Co-authored-by: OTABI Tomoya --------- Co-authored-by: OTABI Tomoya --- .../development/python-modules/readability-lxml/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/readability-lxml/default.nix b/pkgs/development/python-modules/readability-lxml/default.nix index cca38cd71ae5..6b04c0f1cd91 100644 --- a/pkgs/development/python-modules/readability-lxml/default.nix +++ b/pkgs/development/python-modules/readability-lxml/default.nix @@ -31,8 +31,12 @@ buildPythonPackage rec { timeout-decorator ]; + disabledTests = lib.optionals stdenv.isDarwin [ + # Test is broken on darwin. Fix in master from https://github.com/buriy/python-readability/pull/178 + "test_many_repeated_spaces" + ]; + meta = with lib; { - broken = stdenv.isDarwin; description = "Fast python port of arc90's readability tool"; homepage = "https://github.com/buriy/python-readability"; license = licenses.asl20;