Skip to content

Commit 7423c18

Browse files
committed
deps: bump numpy upper bound
1 parent 915262e commit 7423c18

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/pytest-core-nompi.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,6 @@ jobs:
4747
]
4848
set: [base, adjoint]
4949

50-
# default for everyone
51-
numpy: ["numpy"]
52-
5350
include:
5451
- name: pytest-ubuntu-py311-gcc11-cxxnoomp
5552
python-version: '3.11'
@@ -71,7 +68,6 @@ jobs:
7168
arch: "gcc-14"
7269
language: "openmp"
7370
sympy: "1.12"
74-
numpy: "numpy==1.26"
7571

7672
- name: pytest-ubuntu-py311-gcc10-noomp
7773
python-version: '3.11'
@@ -192,7 +188,10 @@ jobs:
192188
python3 -m pip install ${{ env.PIPFLAGS }} --upgrade pip
193189
python3 -m pip install ${{ env.PIPFLAGS }} -e ".[tests,extras]"
194190
python3 -m pip install ${{ env.PIPFLAGS }} sympy==${{matrix.sympy}}
195-
python3 -m pip install ${{ env.PIPFLAGS }} ${{matrix.numpy}}
191+
192+
- name: Backward compat for numpy 1.26
193+
if: matrix.name == 'pytest-ubuntu-py310-gcc14-omp'
194+
run: python3 -m pip install ${{ env.PIPFLAGS }} numpy==1.26
196195

197196
- name: Check Docker image Python version
198197
if: "contains(matrix.name, 'docker')"

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
pip>=9.0.1
2-
numpy>=1.26,<=2.3.3
2+
numpy>=1.26,<=2.4.3
33
sympy>=1.12.1,<1.15
44
psutil>=5.1.0,<8.0
55
py-cpuinfo<10

0 commit comments

Comments
 (0)