From 250ccdb222caffb4d712bd6e06e1e9fff34c04d5 Mon Sep 17 00:00:00 2001 From: NiklasV <139122850+NiklasVin@users.noreply.github.com> Date: Sat, 7 Sep 2024 13:08:56 +0200 Subject: [PATCH] Modify `setup.py` to avoid crash due to version 4.0.0 of `mpi4py` during installation (#181) * Require mpi4py < 4 --------- Co-authored-by: Benjamin Rodenberg --- CHANGELOG.md | 1 + setup.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1a63ecf..f5897b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ * Use `copy(deepcopy=True)` when checkpointing to make checkpointing more user-friendly and secure. IMPORTANT: might increase runtime, please open an issue if you face serious problems. [#172](https://github.com/precice/fenics-adapter/pull/172) * Add unit tests for checkpointing. [#173](https://github.com/precice/fenics-adapter/pull/173) +* Add required version of `mpi4py` to `<4` to avoid crash during installation. [#181](https://github.com/precice/fenics-adapter/pull/181) * Remove checks for FEniCS installation and python3 from `setup.py` since the approach is deprecated. [#182](https://github.com/precice/fenics-adapter/pull/182) ## 2.1.0 diff --git a/setup.py b/setup.py index 1f6d712..df8b212 100644 --- a/setup.py +++ b/setup.py @@ -16,6 +16,6 @@ author_email='info@precice.org', license='LGPL-3.0', packages=['fenicsprecice'], - install_requires=['pyprecice>=3.0.0.0', 'scipy', 'numpy>=1.13.3, <2', 'mpi4py'], + install_requires=['pyprecice>=3.0.0.0', 'scipy', 'numpy>=1.13.3, <2', 'mpi4py<4'], test_suite='tests', zip_safe=False)