mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
python3Packages.mpi-pytest: 2025.4.0 -> 2025.5.0 (#413529)
This commit is contained in:
commit
43cc9d7c30
1 changed files with 2 additions and 9 deletions
|
@ -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
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue