Skip to content

Commit 1fa3ce3

Browse files
committed
pinning build mpi4py version to 3.1.5
1 parent 75ea914 commit 1fa3ce3

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

conda/meta.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ requirements:
4343
- mpich # [mpi == "mpich" and build_platform != target_platform]
4444
- openmpi-mpicxx # [mpi == "openmpi" and build_platform != target_platform]
4545
- mpich-mpicxx # [mpi == "mpich" and build_platform != target_platform]
46-
- mpi4py >=3.1.1 # [build_platform != target_platform]
46+
- mpi4py >=3.1.5,<4.0.0 # [build_platform != target_platform]
4747
- cython >=0.29,<3.0 # [build_platform != target_platform]
4848
- setuptools # [build_platform != target_platform]
4949
- tacs >=3.4.0 # [build_platform != target_platform]
@@ -56,7 +56,7 @@ requirements:
5656
- mpich # [mpi == "mpich"]
5757
- libopenblas
5858
- lapack
59-
- mpi4py >=3.1.1
59+
- mpi4py >=3.1.5,<4.0.0
6060
- cython >=0.29,<3.0
6161
- tacs >=3.4.0
6262

@@ -68,7 +68,7 @@ requirements:
6868
- mpich # [mpi == "mpich"]
6969
- libopenblas
7070
- lapack
71-
- mpi4py >=3.1.1
71+
- mpi4py >=3.1.5,<4.0.0
7272
- tacs >=3.4.0
7373

7474
test:

pyproject.toml

+1-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,4 @@
22
[build-system]
33
# Minimum requirements for the build system to execute.
44
requires = ['setuptools>=45.0,<72.0', 'wheel', 'cython>=0.29,<3.0', 'numpy>=1.25,<2.0.0',
5-
# Build against an old version (3.1.1) of mpi4py for forward compatibility
6-
"mpi4py==3.1.1; python_version<'3.11'",
7-
# Python 3.11 requires 3.1.4+
8-
"mpi4py==3.1.4; python_version>='3.11'"]
5+
"mpi4py==3.1.5"]

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def get_mpi_flags():
9898
author_email="[email protected]",
9999
python_requires=">=3.9.0",
100100
extras_require=optional_dependencies,
101-
install_requires=["numpy<2.0.0", "mpi4py>=3.1.1"],
101+
install_requires=["numpy<2.0.0", "mpi4py>=3.1.5"],
102102
packages=find_packages(include=["funtofem*"]),
103103
ext_modules=cythonize(exts, include_path=inc_dirs),
104104
)

0 commit comments

Comments
 (0)