Commit 2d271095 authored by Gaetan Lepage's avatar Gaetan Lepage
Browse files

python312Packages.mpi4py: 4.0.1 -> 4.0.2

parent f1fdef54
Loading
Loading
Loading
Loading
+11 −9
Original line number Diff line number Diff line
{
  lib,
  fetchFromGitHub,
  buildPythonPackage,
  fetchFromGitHub,
  cython,
  setuptools,
  mpi,
@@ -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;
@@ -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 ];
  };