Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bc79e3b

Browse files
committed
Python 3.12 requires mpi4py>=3.1.5 in setup.py
1 parent c8972f1 commit bc79e3b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@
4747
# incompatible with newer setuptools.
4848
RUN_REQUIRES.append('mpi4py >=3.1.1')
4949
SETUP_REQUIRES.append("mpi4py ==3.1.1; python_version<'3.11'")
50-
SETUP_REQUIRES.append("mpi4py ==3.1.4; python_version>='3.11'")
50+
SETUP_REQUIRES.append("mpi4py ==3.1.4; python_version=='3.11'")
51+
SETUP_REQUIRES.append("mpi4py ==3.1.6; python_version>='3.12'")
5152

5253
# Set the environment variable H5PY_SETUP_REQUIRES=0 if we need to skip
5354
# setup_requires for any reason.

0 commit comments

Comments
 (0)