Skip to content

Commit ce58622

Browse files
committed
TST Test on Numpy 2.3 and 2.4
- Update supported version combinations - install setuptools explicitly, which is needed for Python 3.13
1 parent 504d15b commit ce58622

File tree

2 files changed

+32
-1
lines changed

2 files changed

+32
-1
lines changed

.github/workflows/test-python-package-with-conda.yml

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ jobs:
3232
- '2.0'
3333
- '2.1'
3434
- '2.2'
35+
- '2.3'
36+
- '2.4'
3537
exclude:
3638
# 3.7 is too old for NumPy 1.22+
3739
- python-version: '3.7'
@@ -50,6 +52,10 @@ jobs:
5052
numpy-version: '2.1'
5153
- python-version: '3.7'
5254
numpy-version: '2.2'
55+
- python-version: '3.7'
56+
numpy-version: '2.3'
57+
- python-version: '3.7'
58+
numpy-version: '2.4'
5359

5460
# 3.8 is too old for NumPy 1.25+
5561
- python-version: '3.8'
@@ -62,6 +68,20 @@ jobs:
6268
numpy-version: '2.1'
6369
- python-version: '3.8'
6470
numpy-version: '2.2'
71+
- python-version: '3.8'
72+
numpy-version: '2.3'
73+
- python-version: '3.8'
74+
numpy-version: '2.4'
75+
76+
# 3.9 is too old for NumPy 2.1+
77+
- python-version: '3.9'
78+
numpy-version: '2.1'
79+
- python-version: '3.9'
80+
numpy-version: '2.2'
81+
- python-version: '3.9'
82+
numpy-version: '2.3'
83+
- python-version: '3.9'
84+
numpy-version: '2.4'
6585

6686
# NumPy 1.20 & Python 3.7 trigger a bad resolve from mamba
6787
- python-version: '3.7'
@@ -82,6 +102,12 @@ jobs:
82102
- python-version: '3.10'
83103
numpy-version: '1.20'
84104

105+
# NumPy >2.3+ are too new for Python 3.10
106+
- python-version: '3.10'
107+
numpy-version: '2.3'
108+
- python-version: '3.10'
109+
numpy-version: '2.4'
110+
85111

86112
# NumPy <1.23 are too old for Python 3.11
87113
- python-version: '3.11'
@@ -111,7 +137,7 @@ jobs:
111137
numpy-version: '1.25'
112138

113139

114-
# NumPy <=1.25 are too old for Python 3.12
140+
# NumPy <=2.1 are too old for Python 3.13
115141
- python-version: '3.13'
116142
numpy-version: '1.19'
117143
- python-version: '3.13'
@@ -126,6 +152,10 @@ jobs:
126152
numpy-version: '1.24'
127153
- python-version: '3.13'
128154
numpy-version: '1.25'
155+
- python-version: '3.13'
156+
numpy-version: '1.26'
157+
- python-version: '3.13'
158+
numpy-version: '2.0'
129159

130160
steps:
131161
- uses: actions/checkout@v4

tests-requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
matplotlib
2+
setuptools
23
pip
34
coveralls
45
pytest<=8.1.1

0 commit comments

Comments
 (0)