From 8cbea5f7670943659a68da55dba547175aced07c Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Tue, 5 Nov 2019 13:04:49 -0800 Subject: [PATCH] mpi4py 3.0.3 (#13601) * mpi4py 3.0.3 Adds support for Python 3.8 with new Cython files. I tried to build 3.0.0 with Python 3.8 and this builds as well, therefor I added no conflict. * mpi4py: update dependency version ranges --- var/spack/repos/builtin/packages/py-mpi4py/package.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/var/spack/repos/builtin/packages/py-mpi4py/package.py b/var/spack/repos/builtin/packages/py-mpi4py/package.py index 86b176081c..f85037f03b 100644 --- a/var/spack/repos/builtin/packages/py-mpi4py/package.py +++ b/var/spack/repos/builtin/packages/py-mpi4py/package.py @@ -13,19 +13,20 @@ class PyMpi4py(PythonPackage): standard MPI-2 C++ bindings. """ homepage = "https://pypi.python.org/pypi/mpi4py" - url = "https://pypi.io/packages/source/m/mpi4py/mpi4py-3.0.0.tar.gz" + url = "https://pypi.io/packages/source/m/mpi4py/mpi4py-3.0.3.tar.gz" git = "https://github.com/mpi4py/mpi4py.git" version('develop', branch='master') + version('3.0.3', sha256='012d716c8b9ed1e513fcc4b18e5af16a8791f51e6d1716baccf988ad355c5a1f') version('3.0.1', sha256='6549a5b81931303baf6600fa2e3bc04d8bd1d5c82f3c21379d0d64a9abcca851') version('3.0.0', sha256='b457b02d85bdd9a4775a097fac5234a20397b43e073f14d9e29b6cd78c68efd7') version('2.0.0', sha256='6543a05851a7aa1e6d165e673d422ba24e45c41e4221f0993fe1e5924a00cb81') version('1.3.1', sha256='e7bd2044aaac5a6ea87a87b2ecc73b310bb6efe5026031e33067ea3c2efc3507') - depends_on('python@2.7:2.8,3.3:') + depends_on('python@2.6:2.7.99,3.2:') depends_on('py-setuptools', type='build') depends_on('mpi') - depends_on('py-cython', when='@develop', type='build') + depends_on('py-cython@0.22.0:', when='@develop', type='build') def build_args(self, spec, prefix): return ['--mpicc=%s -shared' % spec['mpi'].mpicc]