20
20
runs-on : ubuntu-latest
21
21
strategy :
22
22
matrix :
23
- python : ['3.9', '3.10', '3.11', '3.12']
23
+ include :
24
+ - python : ' 3.9'
25
+ numpy : ' 2.0'
26
+ - python : ' 3.10'
27
+ numpy : ' 2.0'
28
+ - python : ' 3.11'
29
+ numpy : ' 2.2'
30
+ - python : ' 3.12'
31
+ numpy : ' 2.3'
32
+ - python : ' 3.13'
33
+ numpy : ' 2.3'
24
34
steps :
25
35
- name : Cancel Previous Runs
26
36
uses : styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
@@ -53,10 +63,10 @@ jobs:
53
63
- name : Install conda-build
54
64
run : conda install conda-build python=3.12
55
65
56
- - name : Build conda package with NumPy 2.0
66
+ - name : Build conda package with NumPy 2.x
57
67
run : |
58
68
CHANNELS="-c conda-forge --override-channels"
59
- VERSIONS="--python ${{ matrix.python }} --numpy 2.0 "
69
+ VERSIONS="--python ${{ matrix.python }} --numpy ${{ matrix.numpy }} "
60
70
TEST="--no-test"
61
71
62
72
conda build \
77
87
78
88
strategy :
79
89
matrix :
80
- python_ver : ['3.9', '3.10', '3.11', '3.12']
81
- numpy : ['numpy"<2"', 'numpy" >=2"']
90
+ python_ver : ['3.9', '3.10', '3.11', '3.12', '3.13' ]
91
+ numpy : ['numpy">=2"']
82
92
experimental : [false]
83
93
runner : [ubuntu-latest]
84
94
continue-on-error : ${{ matrix.experimental }}
@@ -147,7 +157,17 @@ jobs:
147
157
148
158
strategy :
149
159
matrix :
150
- python : ['3.9', '3.10', '3.11', '3.12']
160
+ include :
161
+ - python : ' 3.9'
162
+ numpy : ' 2.0'
163
+ - python : ' 3.10'
164
+ numpy : ' 2.0'
165
+ - python : ' 3.11'
166
+ numpy : ' 2.2'
167
+ - python : ' 3.12'
168
+ numpy : ' 2.3'
169
+ - python : ' 3.13'
170
+ numpy : ' 2.3'
151
171
steps :
152
172
- name : Cancel Previous Runs
153
173
uses : styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
@@ -184,10 +204,10 @@ jobs:
184
204
- name : Setup MSVC
185
205
uses : ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
186
206
187
- - name : Build conda package with NumPy 2.0
207
+ - name : Build conda package with NumPy 2.x
188
208
run : |
189
209
conda activate
190
- conda build --no-test --python ${{ matrix.python }} --numpy 2.0 -c conda-forge --override-channels conda-recipe-cf
210
+ conda build --no-test --python ${{ matrix.python }} --numpy ${{ matrix.numpy }} -c conda-forge --override-channels conda-recipe-cf
191
211
192
212
- name : Store conda paths as envs
193
213
shell : bash -l {0}
@@ -209,8 +229,8 @@ jobs:
209
229
210
230
strategy :
211
231
matrix :
212
- python_ver : ['3.9', '3.10', '3.11', '3.12']
213
- numpy : ['numpy"<2"', 'numpy" >=2"']
232
+ python_ver : ['3.9', '3.10', '3.11', '3.12', '3.13' ]
233
+ numpy : ['numpy">=2"']
214
234
experimental : [false]
215
235
runner : [windows-latest]
216
236
continue-on-error : ${{ matrix.experimental }}
0 commit comments