Skip to content

Commit

Permalink
python312Packages.mpi4py: 4.0.1 -> 4.0.2 (NixOS#378846)
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanLepage authored Feb 2, 2025
2 parents 4c1b08b + 2d27109 commit 24818bc
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions pkgs/development/python-modules/mpi4py/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
lib,
fetchFromGitHub,
buildPythonPackage,
fetchFromGitHub,
cython,
setuptools,
mpi,
Expand All @@ -11,36 +11,37 @@

buildPythonPackage rec {
pname = "mpi4py";
version = "4.0.1";
version = "4.0.2";
pyproject = true;

src = fetchFromGitHub {
repo = "mpi4py";
owner = "mpi4py";
rev = version;
hash = "sha256-pH4z+hyoFOSAUlXv9EKO54/SM5HyLxv7B+18xBidH2Q=";
tag = version;
hash = "sha256-hsP4aonjiBit2un6EQWQxF+lVjsnMFFqLaAOqBWAzgo=";
};

build-system = [
cython
setuptools
];

nativeBuildInputs = [
mpi
];

dependencies = [
mpi
];

pythonImportsCheck = [ "mpi4py" ];

__darwinAllowLocalNetworking = true;

nativeCheckInputs = [
pytestCheckHook
mpiCheckPhaseHook
];
doCheck = true;
disabledTestPaths = [
# Almost all tests in this file fail (TODO: Report about this upstream..)
"test/test_spawn.py"
];

passthru = {
inherit mpi;
Expand All @@ -49,6 +50,7 @@ buildPythonPackage rec {
meta = {
description = "Python bindings for the Message Passing Interface standard";
homepage = "https://github.com/mpi4py/mpi4py";
changelog = "https://github.com/mpi4py/mpi4py/blob/${version}/CHANGES.rst";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ doronbehar ];
};
Expand Down

0 comments on commit 24818bc

Please sign in to comment.