From b80fccf9acd5f64c17b91e071355233b26263361 Mon Sep 17 00:00:00 2001 From: qbisi Date: Sun, 6 Jul 2025 14:43:03 +0800 Subject: [PATCH] python3Packages.mpi4py: skip spawn related tests for openmpi --- pkgs/development/python-modules/mpi4py/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/mpi4py/default.nix b/pkgs/development/python-modules/mpi4py/default.nix index 202ba506dfe1..42422d61a0d7 100644 --- a/pkgs/development/python-modules/mpi4py/default.nix +++ b/pkgs/development/python-modules/mpi4py/default.nix @@ -54,6 +54,10 @@ buildPythonPackage rec { __darwinAllowLocalNetworking = true; + # skip spawn related tests for openmpi implemention + # see https://github.com/mpi4py/mpi4py/issues/545#issuecomment-2343011460 + env.MPI4PY_TEST_SPAWN = if mpi.pname == "openmpi" then 0 else 1; + passthru = { inherit mpi; };