pythonPackages.mpi4py: 3.0.1 -> 3.0.2
This commit is contained in:
parent
bfc789118b
commit
02d750348a
1 changed files with 3 additions and 9 deletions
|
@ -1,24 +1,18 @@
|
|||
{ stdenv, fetchPypi, fetchpatch, python, buildPythonPackage, mpi, openssh }:
|
||||
{ stdenv, fetchPypi, python, buildPythonPackage, mpi, openssh }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mpi4py";
|
||||
version = "3.0.1";
|
||||
version = "3.0.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0ld8rjmsjr0dklvj2g1gr3ax32sdq0xjxyh0cspknc1i36waajb5";
|
||||
sha256 = "1q28xl36difma1wq0acq111cqxjya32kn3lxp6fbidz3wg8jkmpq";
|
||||
};
|
||||
|
||||
passthru = {
|
||||
inherit mpi;
|
||||
};
|
||||
|
||||
patches = [ ( fetchpatch {
|
||||
# Upstream patch to ensure compatibility with openmpi-4.0.1
|
||||
url = "https://github.com/mpi4py/mpi4py/commit/42f5e35a6a90454516c11131549a08cd766edbb0.patch";
|
||||
sha256 = "1dm0i3amwj1cddzz1m9ssd7qp655c8rv1wzjs9ww3kzd90fm4w72";
|
||||
})];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace test/test_spawn.py --replace \
|
||||
"unittest.skipMPI('openmpi(<3.0.0)')" \
|
||||
|
|
Loading…
Reference in a new issue