Skip to content

Commit

Permalink
Merge pull request #2418 from nima3333/fix_mpi4py
Browse files Browse the repository at this point in the history
Python 3.12 requires mpi4py>=3.1.5 in setup.py
  • Loading branch information
takluyver committed May 6, 2024
2 parents c75aac4 + 7bde053 commit 25c55e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Expand Up @@ -47,7 +47,8 @@
# incompatible with newer setuptools.
RUN_REQUIRES.append('mpi4py >=3.1.1')
SETUP_REQUIRES.append("mpi4py ==3.1.1; python_version<'3.11'")
SETUP_REQUIRES.append("mpi4py ==3.1.4; python_version>='3.11'")
SETUP_REQUIRES.append("mpi4py ==3.1.4; python_version=='3.11.*'")
SETUP_REQUIRES.append("mpi4py ==3.1.6; python_version>='3.12'")

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

0 comments on commit 25c55e5

Please sign in to comment.