From a1bc7b4dbe4f0f979d810e71b40e1ab6c1768d33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Thu, 11 Aug 2022 12:54:15 +0000 Subject: [PATCH] python310Packages.marshmallow-enum: don't use pytest-flake8 --- .../development/python-modules/marshmallow-enum/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/marshmallow-enum/default.nix b/pkgs/development/python-modules/marshmallow-enum/default.nix index 16af840b036b..a7852afb7082 100644 --- a/pkgs/development/python-modules/marshmallow-enum/default.nix +++ b/pkgs/development/python-modules/marshmallow-enum/default.nix @@ -5,7 +5,6 @@ , pytestCheckHook , isPy27 , enum34 -, pytest-flake8 }: buildPythonPackage rec { @@ -19,13 +18,16 @@ buildPythonPackage rec { sha256 = "1ihrcmyfjabivg6hc44i59hnw5ijlg1byv3zs1rqxfynp8xr7398"; }; + postPatch = '' + sed -i '/addopts/d' tox.ini + ''; + propagatedBuildInputs = [ marshmallow ] ++ lib.optionals isPy27 [ enum34 ]; checkInputs = [ pytestCheckHook - pytest-flake8 ]; disabledTests = [