python312Packages.mpi4py: disable failing tests with mpich (#398920)

This commit is contained in:
Doron Behar
2025-04-15 21:07:41 +03:00
committed by GitHub
@@ -36,12 +36,18 @@ buildPythonPackage rec {
pythonImportsCheck = [ "mpi4py" ];
__darwinAllowLocalNetworking = true;
nativeCheckInputs = [
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;