1diff --git a/setup.py b/setup.py
2index b1463422..7f0c7b10 100755
3--- a/setup.py
4+++ b/setup.py
5@@ -47,7 +47,7 @@ if setup_configure.mpi_enabled():
6 # incompatible with newer setuptools.
7 RUN_REQUIRES.append('mpi4py >=3.1.1')
8 SETUP_REQUIRES.append("mpi4py ==3.1.1; python_version<'3.11'")
9- SETUP_REQUIRES.append("mpi4py ==3.1.4; python_version>='3.11'")
10+ SETUP_REQUIRES.append("mpi4py >=3.1.4; python_version>='3.11'")
11
12 # Set the environment variable H5PY_SETUP_REQUIRES=0 if we need to skip
13 # setup_requires for any reason.