Skip to content

Commit 7473adb

Browse files
committed
include python 3.13 for all workflows
1 parent d08c2ca commit 7473adb

File tree

3 files changed

+36
-16
lines changed

3 files changed

+36
-16
lines changed

.github/workflows/build_pip.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222

2323
strategy:
2424
matrix:
25-
python: ['3.9', '3.10', '3.11', '3.12']
25+
python: ['3.9', '3.10', '3.11', '3.12', '3.13']
2626
use_pre: ["", "--pre"]
2727

2828
steps:
@@ -53,7 +53,7 @@ jobs:
5353
5454
- name: Build conda package
5555
run: |
56-
pip install --no-cache-dir cython
56+
pip install --no-cache-dir cython setuptools
5757
pip install --no-cache-dir numpy ${{ matrix.use_pre }}
5858
echo "CONDA_PREFFIX is '${CONDA_PREFIX}'"
5959
export MKLROOT=${CONDA_PREFIX}

.github/workflows/conda-package-cf.yml

Lines changed: 30 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,17 @@ jobs:
2020
runs-on: ubuntu-latest
2121
strategy:
2222
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'
2434
steps:
2535
- name: Cancel Previous Runs
2636
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
@@ -53,10 +63,10 @@ jobs:
5363
- name: Install conda-build
5464
run: conda install conda-build python=3.12
5565

56-
- name: Build conda package with NumPy 2.0
66+
- name: Build conda package with NumPy 2.x
5767
run: |
5868
CHANNELS="-c conda-forge --override-channels"
59-
VERSIONS="--python ${{ matrix.python }} --numpy 2.0"
69+
VERSIONS="--python ${{ matrix.python }} --numpy ${{ matrix.numpy }}"
6070
TEST="--no-test"
6171
6272
conda build \
@@ -77,8 +87,8 @@ jobs:
7787

7888
strategy:
7989
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"']
8292
experimental: [false]
8393
runner: [ubuntu-latest]
8494
continue-on-error: ${{ matrix.experimental }}
@@ -147,7 +157,17 @@ jobs:
147157

148158
strategy:
149159
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'
151171
steps:
152172
- name: Cancel Previous Runs
153173
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
@@ -184,10 +204,10 @@ jobs:
184204
- name: Setup MSVC
185205
uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
186206

187-
- name: Build conda package with NumPy 2.0
207+
- name: Build conda package with NumPy 2.x
188208
run: |
189209
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
191211
192212
- name: Store conda paths as envs
193213
shell: bash -l {0}
@@ -209,8 +229,8 @@ jobs:
209229

210230
strategy:
211231
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"']
214234
experimental: [false]
215235
runner: [windows-latest]
216236
continue-on-error: ${{ matrix.experimental }}

.github/workflows/conda-package.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
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']
2424
steps:
2525
- name: Cancel Previous Runs
2626
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
@@ -77,7 +77,7 @@ jobs:
7777

7878
strategy:
7979
matrix:
80-
python: ['3.9', '3.10', '3.11', '3.12']
80+
python: ['3.9', '3.10', '3.11', '3.12', '3.13']
8181
experimental: [false]
8282
runner: [ubuntu-latest]
8383
continue-on-error: ${{ matrix.experimental }}
@@ -155,7 +155,7 @@ jobs:
155155

156156
strategy:
157157
matrix:
158-
python: ['3.9', '3.10', '3.11', '3.12']
158+
python: ['3.9', '3.10', '3.11', '3.12', '3.13']
159159
steps:
160160
- name: Cancel Previous Runs
161161
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
@@ -219,7 +219,7 @@ jobs:
219219

220220
strategy:
221221
matrix:
222-
python: ['3.9', '3.10', '3.11', '3.12']
222+
python: ['3.9', '3.10', '3.11', '3.12', '3.13']
223223
experimental: [false]
224224
runner: [windows-latest]
225225
continue-on-error: ${{ matrix.experimental }}

0 commit comments

Comments
 (0)