From 40961a8ff5cec582b86533c3e4ed651f77da2540 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Tue, 27 Jun 2023 15:48:58 +0200 Subject: [PATCH] pypy3Packages.execnet: disable tests as they randomly crash, cleanup --- .../python-modules/execnet/default.nix | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/execnet/default.nix b/pkgs/development/python-modules/execnet/default.nix index a7ad4cf4ed5d..528e849290db 100644 --- a/pkgs/development/python-modules/execnet/default.nix +++ b/pkgs/development/python-modules/execnet/default.nix @@ -27,13 +27,14 @@ buildPythonPackage rec { }) ]; - # remove vbox tests postPatch = '' - rm -v testing/test_termination.py - rm -v testing/test_channel.py - rm -v testing/test_xspec.py - rm -v testing/test_gateway.py - ${lib.optionalString isPyPy "rm -v testing/test_multi.py"} + # remove vbox tests + rm testing/test_termination.py + rm testing/test_channel.py + rm testing/test_xspec.py + rm testing/test_gateway.py + '' + lib.optionalString isPyPy '' + rm testing/test_multi.py ''; nativeBuildInputs = [ @@ -44,8 +45,11 @@ buildPythonPackage rec { apipkg ]; + # sometimes crashes with: OSError: [Errno 9] Bad file descriptor + doCheck = !isPyPy; + nativeCheckInputs = [ - py + py # no longer required with 1.10.0 pytestCheckHook ]; @@ -62,5 +66,4 @@ buildPythonPackage rec { license = licenses.mit; maintainers = with maintainers; [ ]; }; - }