diff --git a/pkgs/development/python-modules/mpi4py/default.nix b/pkgs/development/python-modules/mpi4py/default.nix index 05208b24abda..5e1eecd4421a 100644 --- a/pkgs/development/python-modules/mpi4py/default.nix +++ b/pkgs/development/python-modules/mpi4py/default.nix @@ -40,6 +40,14 @@ buildPythonPackage rec { pytestCheckHook mpiCheckPhaseHook ]; + disabledTestPaths = lib.optionals (mpi.pname == "mpich") [ + # These tests from some reason cause pytest to crash, and therefor it is + # hard to debug them. Upstream mentions these tests to raise issues in + # https://github.com/mpi4py/mpi4py/issues/418 but the workaround suggested + # there (setting MPI4PY_RC_RECV_MPROBE=0) doesn't work. + "test/test_util_pool.py" + "demo/futures/test_futures.py" + ]; passthru = { inherit mpi;