From bce8b8ba7378adc1728b071a430aae21b613fa2f Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 2 Jun 2025 21:12:13 +0000 Subject: [PATCH] python3Packages.mpi-pytest: 2025.4.0 -> 2025.5.0 mpi-pytest now support OpenMPI forking mode, postPatch is no more needed. changelog: https://github.com/firedrakeproject/mpi-pytest/releases/tag/v2025.5.0 diff: https://github.com/firedrakeproject/mpi-pytest/compare/v2025.4.0...v2025.5.0 --- .../development/python-modules/mpi-pytest/default.nix | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/mpi-pytest/default.nix b/pkgs/development/python-modules/mpi-pytest/default.nix index 585307c94b83..740c0de6dc3b 100644 --- a/pkgs/development/python-modules/mpi-pytest/default.nix +++ b/pkgs/development/python-modules/mpi-pytest/default.nix @@ -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 ];