From 776cbab8d7e1c4a252f2756ed50847aff8ae7d11 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 20 Jan 2022 09:39:09 +0100 Subject: [PATCH] python3Packages.oletools: relax pyparsing constraint --- pkgs/development/python-modules/oletools/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/oletools/default.nix b/pkgs/development/python-modules/oletools/default.nix index 54c5c6c165b2..76019730eb70 100644 --- a/pkgs/development/python-modules/oletools/default.nix +++ b/pkgs/development/python-modules/oletools/default.nix @@ -39,6 +39,11 @@ buildPythonPackage rec { pytestCheckHook ]; + postPatch = '' + substituteInPlace setup.py \ + --replace "pyparsing>=2.1.0,<3" "pyparsing>=2.1.0" + ''; + disabledTests = [ # Test fails with AssertionError: Tuples differ: ('MS Word 2007+... "test_all"