2020 runs-on : ubuntu-latest
2121 strategy :
2222 matrix :
23- python : ['3.9', '3.10', '3.11', '3.12']
23+ python : ['3.9', '3.10', '3.11', '3.12', '3.13']
24+ numpy : ['">=2"']
2425 steps :
2526 - name : Cancel Previous Runs
2627 uses : styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
@@ -53,10 +54,10 @@ jobs:
5354 - name : Install conda-build
5455 run : conda install conda-build python=3.12
5556
56- - name : Build conda package with NumPy 2.0
57+ - name : Build conda package
5758 run : |
5859 CHANNELS="-c conda-forge --override-channels"
59- VERSIONS="--python ${{ matrix.python }} --numpy 2.0 "
60+ VERSIONS="--python ${{ matrix.python }} --numpy ${{ matrix.numpy }} "
6061 TEST="--no-test"
6162
6263 conda build \
7778
7879 strategy :
7980 matrix :
80- python_ver : ['3.9', '3.10', '3.11', '3.12']
81- numpy : ['numpy"<2"', 'numpy" >=2"']
81+ python_ver : ['3.9', '3.10', '3.11', '3.12', '3.13' ]
82+ numpy : ['numpy">=2"']
8283 experimental : [false]
8384 runner : [ubuntu-latest]
8485 continue-on-error : ${{ matrix.experimental }}
@@ -147,7 +148,8 @@ jobs:
147148
148149 strategy :
149150 matrix :
150- python : ['3.9', '3.10', '3.11', '3.12']
151+ python : ['3.9', '3.10', '3.11', '3.12', '3.13']
152+ numpy : ['">=2"']
151153 steps :
152154 - name : Cancel Previous Runs
153155 uses : styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
@@ -184,10 +186,10 @@ jobs:
184186 - name : Setup MSVC
185187 uses : ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
186188
187- - name : Build conda package with NumPy 2.0
189+ - name : Build conda package
188190 run : |
189191 conda activate
190- conda build --no-test --python ${{ matrix.python }} --numpy 2.0 -c conda-forge --override-channels conda-recipe-cf
192+ conda build --no-test --python ${{ matrix.python }} --numpy ${{ matrix.numpy }} -c conda-forge --override-channels conda-recipe-cf
191193
192194 - name : Store conda paths as envs
193195 shell : bash -l {0}
@@ -209,8 +211,8 @@ jobs:
209211
210212 strategy :
211213 matrix :
212- python_ver : ['3.9', '3.10', '3.11', '3.12']
213- numpy : ['numpy"<2"', 'numpy" >=2"']
214+ python_ver : ['3.9', '3.10', '3.11', '3.12', '3.13' ]
215+ numpy : ['numpy">=2"']
214216 experimental : [false]
215217 runner : [windows-latest]
216218 continue-on-error : ${{ matrix.experimental }}
0 commit comments