python3Packages.mpi-pytest: 2025.4.0 -> 2025.5.0 (#413529)

This commit is contained in:
Nick Cao 2025-06-03 18:51:13 -04:00 committed by GitHub
commit 43cc9d7c30
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,23 +11,16 @@
buildPythonPackage rec {
pname = "mpi-pytest";
version = "2025.4.0";
version = "2025.5.0";
pyproject = true;
src = fetchFromGitHub {
owner = "firedrakeproject";
repo = "mpi-pytest";
tag = "v${version}";
hash = "sha256-r9UB5H+qAJc6k2SVAiOCI2yRDLNv2zKRmfrAan+cX9I=";
hash = "sha256-Eq53rCM3xwY30BuGUaTH4Nuloc/9kGJMFhspLH04zqE=";
};
# A temporary fixup to support fork mode with openmpi implementation
# See https://github.com/firedrakeproject/mpi-pytest/pull/17
postPatch = lib.optionalString (mpi4py.mpi.pname == "openmpi") ''
substituteInPlace pytest_mpi/plugin.py \
--replace-fail '"-genv", CHILD_PROCESS_FLAG, "1"' '"-x", f"{CHILD_PROCESS_FLAG}=1"'
'';
build-system = [
setuptools
];