Skip to content

Commit 9d60f00

Browse files
authored
Bumping numpy min version to 2.0 (#378)
* Update numpy version requirement to 2.0.0 * Update numpy version requirement to 2.0.0 * Update numpy and tacs version requirements
1 parent e50e55a commit 9d60f00

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

conda/meta.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,27 +38,27 @@ requirements:
3838
- make
3939
- python {{ python }} # [build_platform != target_platform]
4040
- cross-python_{{ target_platform }} # [build_platform != target_platform]
41-
- numpy >=1.25 # [build_platform != target_platform]
41+
- numpy >=2.0 # [build_platform != target_platform]
4242
- openmpi >=4.1.4 # [mpi == "openmpi" and build_platform != target_platform]
4343
- mpich # [mpi == "mpich" and build_platform != target_platform]
4444
- openmpi-mpicxx # [mpi == "openmpi" and build_platform != target_platform]
4545
- mpich-mpicxx # [mpi == "mpich" and build_platform != target_platform]
4646
- mpi4py >=4.0.3,<5.0.0 # [build_platform != target_platform]
4747
- cython >=3.0,<4.0 # [build_platform != target_platform]
4848
- setuptools # [build_platform != target_platform]
49-
- tacs >=3.4.0 # [build_platform != target_platform]
49+
- tacs >=3.10.0 # [build_platform != target_platform]
5050

5151
host:
5252
- python {{ python }}
5353
- pip
54-
- numpy >=1.25
54+
- numpy >=2.0
5555
- openmpi >=4.1.4 # [mpi == "openmpi"]
5656
- mpich # [mpi == "mpich"]
5757
- libopenblas
5858
- lapack
5959
- mpi4py >=4.0.3,<5.0.0
6060
- cython >=3.0,<4.0
61-
- tacs >=3.4.0
61+
- tacs >=3.10.0
6262

6363
run:
6464
- python
@@ -69,7 +69,7 @@ requirements:
6969
- libopenblas
7070
- lapack
7171
- mpi4py >=4.0.3,<5.0.0
72-
- tacs >=3.4.0
72+
- tacs >=3.10.0
7373

7474
test:
7575
requires:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#pyproject.toml
22
[build-system]
33
# Minimum requirements for the build system to execute.
4-
requires = ['setuptools>=45.0,<72.0', 'wheel', 'cython>=3.0,<4.0', 'numpy>=1.25',
4+
requires = ['setuptools>=45.0,<72.0', 'wheel', 'cython>=3.0,<4.0', 'numpy>=2.0.0',
55
"mpi4py>=4.0.3"]

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def get_mpi_flags():
9898
author_email="graeme.kennedy@ae.gatech.edu",
9999
python_requires=">=3.10.0",
100100
extras_require=optional_dependencies,
101-
install_requires=["numpy", "mpi4py>=4.0.3"],
101+
install_requires=["numpy>=2.0.0", "mpi4py>=4.0.3"],
102102
packages=find_packages(include=["funtofem*"]),
103103
ext_modules=cythonize(exts, include_path=inc_dirs),
104104
)

0 commit comments

Comments
 (0)