From 6fdc055d91751a8bee0ec0cf0750ecc0703e8064 Mon Sep 17 00:00:00 2001 From: Tim Brooks <41971846+timryanb@users.noreply.github.com> Date: Tue, 30 Jul 2024 09:13:47 -0400 Subject: [PATCH] Adding version upperbound for mpi4py --- conda/meta.yaml | 6 +++--- setup.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/conda/meta.yaml b/conda/meta.yaml index 992b6141e..1c311f1d8 100644 --- a/conda/meta.yaml +++ b/conda/meta.yaml @@ -37,7 +37,7 @@ requirements: - mpich-mpicxx # [mpi == "mpich"] - {{ compiler('cxx') }} - make - - mpi4py >=3.1.1 + - mpi4py >=3.1.1,<4.0.0 - cython >=3.0.0 - setuptools @@ -54,7 +54,7 @@ requirements: - lapack - metis ==5.1.0 - tecio - - mpi4py >=3.1.1 + - mpi4py >=3.1.1,<4.0.0 - cython >=3.0.0 - setuptools @@ -68,7 +68,7 @@ requirements: - libopenblas - lapack - metis ==5.1.0 - - mpi4py >=3.1.1 + - mpi4py >=3.1.1,<4.0.0 - pynastran >=1.4.0 - numba >=0.55.2 diff --git a/setup.py b/setup.py index 3ca879da5..2838a51fb 100644 --- a/setup.py +++ b/setup.py @@ -128,7 +128,7 @@ def get_mpi_flags(): python_requires=">=3.9.0", install_requires=[ "numpy<2.0.0", - "mpi4py>=3.1.1", + "mpi4py>=3.1.1,<4.0.0", "scipy>=1.2.1", "pynastran>=1.4.0", "numba",