Skip to content

Commit 1032ad4

Browse files
authored
Fix build failure (#69)
* Bump oldest tested numpy version from 1.20 to 1.21 * Add numpy upper bound of <2 since OpenMDAO doesn't support it yet * Updated latest numpy version in the docs
1 parent 7ab3c6a commit 1032ad4

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/openconcept.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
PYTHON_VERSION_LATEST: ['3.11']
2828
PIP_VERSION_OLDEST: ['23.0.1'] # pip>=23.1 cannot build the oldest OpenMDAO
2929
SETUPTOOLS_VERSION_OLDEST: ['66.0.0'] # setuptools >= 67.0.0 can't build the oldest OpenMDAO
30-
NUMPY_VERSION_OLDEST: ['1.20'] # latest is most recent on PyPI
30+
NUMPY_VERSION_OLDEST: ['1.21'] # latest is most recent on PyPI
3131
SCIPY_VERSION_OLDEST: ['1.7.0'] # latest is most recent on PyPI
3232
OPENMDAO_VERSION_OLDEST: ['3.21'] # latest is most recent on PyPI
3333
fail-fast: false

doc/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ OpenConcept is tested regularly on builds with the oldest and latest supported p
6868
- 3.30
6969
* - NumPy
7070
- 1.20
71-
- latest
71+
- 1.26
7272
* - SciPy
7373
- 1.7.0
7474
- latest

readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ OpenConcept is tested regularly on builds with the oldest and latest supported p
5555
| ------- | ------- | ------ |
5656
| Python | 3.8 | 3.11 |
5757
| OpenMDAO | 3.21 | 3.30 |
58-
| NumPy | 1.20 | latest |
58+
| NumPy | 1.20 | 1.26 |
5959
| SciPy | 1.7.0 | latest |
6060
| OpenAeroStruct | latest | latest |
6161

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
install_requires=[
4141
# Update the oldest package versions in the GitHub Actions build file, the readme,
4242
# and the index.rst file in the docs when you change these
43-
"numpy>=1.20",
43+
"numpy >=1.20, <=1.26", # OpenMDAO is not compatible with NumPy v2
4444
"scipy>=1.7.0",
4545
"openmdao >=3.21, <=3.30",
4646
],

0 commit comments

Comments
 (0)