Skip to content

Commit

Permalink
Making mpi4py 3.1.5 new minimum version for build (#337)
Browse files Browse the repository at this point in the history
* Making mpi4py 3.1.5 new minimum version for build

* Updating min mpi4py version to 3.1.6

* Undoing mpi4py 3.1.6 min version. setting back to 3.1.5

* Updating conda recipe
  • Loading branch information
timryanb authored Dec 13, 2024
1 parent e5e4d26 commit 9c9e085
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
6 changes: 3 additions & 3 deletions conda/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ requirements:
- mpich-mpicxx # [mpi == "mpich"]
- {{ compiler('cxx') }}
- make
- mpi4py >=3.1.1,<4.0.0
- mpi4py >=3.1.5,<4.0.0
- cython >=3.0.0
- setuptools

Expand All @@ -54,7 +54,7 @@ requirements:
- lapack
- metis ==5.1.0
- tecio
- mpi4py >=3.1.1,<4.0.0
- mpi4py >=3.1.5,<4.0.0
- cython >=3.0.0
- setuptools

Expand All @@ -68,7 +68,7 @@ requirements:
- libopenblas
- lapack
- metis ==5.1.0
- mpi4py >=3.1.1,<4.0.0
- mpi4py >=3.1.5,<4.0.0
- pynastran >=1.4.0
- numba >=0.55.2

Expand Down
6 changes: 2 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,5 @@
[build-system]
# Minimum requirements for the build system to execute.
requires = ['setuptools>=45.0,<72.0', 'wheel', 'cython>=3.0.0', 'numpy>=1.25,<2.0.0',
# Build against an old version (3.1.1) of mpi4py for forward compatibility
"mpi4py==3.1.1; python_version<'3.11'",
# Python 3.11 requires 3.1.4+
"mpi4py==3.1.4; python_version>='3.11'"]
# Build against an old version (3.1.5) of mpi4py for forward compatibility
'mpi4py==3.1.5']
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def get_mpi_flags():
python_requires=">=3.9.0",
install_requires=[
"numpy<2.0.0",
"mpi4py>=3.1.1,<4.0.0",
"mpi4py>=3.1.5,<4.0.0",
"scipy>=1.2.1",
"pynastran>=1.4.0",
"numba",
Expand Down

0 comments on commit 9c9e085

Please sign in to comment.