depot/third_party/nixpkgs/pkgs/development/python-modules/h5py/mpi4py-requirement.patch
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

13 lines
548 B
Diff

diff --git a/setup.py b/setup.py
index b1463422..7f0c7b10 100755
--- a/setup.py
+++ b/setup.py
@@ -47,7 +47,7 @@ if setup_configure.mpi_enabled():
# 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'")
# Set the environment variable H5PY_SETUP_REQUIRES=0 if we need to skip
# setup_requires for any reason.