py-mpi4py: does not yet support cython 3 (#38996)

This commit is contained in:
Adam J. Stewart 2023-07-20 18:13:16 -05:00 committed by GitHub
parent 6610b8bc27
commit 089d775cf2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,6 +36,9 @@ class PyMpi4py(PythonPackage):
depends_on("mpi")
depends_on("py-cython@0.27.0:", type="build")
# https://github.com/mpi4py/mpi4py/pull/311
conflicts("^py-cython@3:")
@when("@3.1:")
def install_options(self, spec, prefix):
return ["--mpicc=%s -shared" % spec["mpi"].mpicc]