Skip to content

Commit 3380547

Browse files
committed
Add Python 3.13 to conda-package workflows
1 parent 9390996 commit 3380547

File tree

2 files changed

+28
-8
lines changed

2 files changed

+28
-8
lines changed

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

Lines changed: 24 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,15 @@ jobs:
1919
runs-on: ubuntu-latest
2020
strategy:
2121
matrix:
22-
python: ["3.10", "3.11", "3.12"]
22+
include:
23+
- python: '3.10'
24+
numpy: '2.2'
25+
- python: '3.11'
26+
numpy: '2.3'
27+
- python: '3.12'
28+
numpy: '2.3'
29+
- python: '3.13'
30+
numpy: '2.3'
2331
steps:
2432
- uses: actions/checkout@v4
2533
with:
@@ -47,7 +55,7 @@ jobs:
4755
- name: Build conda package
4856
run: |
4957
CHANNELS="-c conda-forge --override-channels"
50-
VERSIONS="--python ${{ matrix.python }} --numpy 2.0"
58+
VERSIONS="--python ${{ matrix.python }} --numpy ${{ matrix.numpy }}"
5159
TEST="--no-test"
5260
5361
conda build \
@@ -66,7 +74,15 @@ jobs:
6674

6775
strategy:
6876
matrix:
69-
python: ["3.10", "3.11", "3.12"]
77+
include:
78+
- python: '3.10'
79+
numpy: '2.2'
80+
- python: '3.11'
81+
numpy: '2.3'
82+
- python: '3.12'
83+
numpy: '2.3'
84+
- python: '3.13'
85+
numpy: '2.3'
7086
env:
7187
conda-bld: C:\Miniconda\conda-bld\win-64\
7288
steps:
@@ -95,7 +111,7 @@ jobs:
95111
- name: Setup MSVC
96112
uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
97113
- name: Build conda package
98-
run: conda build --no-test --python ${{ matrix.python }} --numpy 2.0 -c conda-forge --override-channels conda-recipe-cf
114+
run: conda build --no-test --python ${{ matrix.python }} --numpy ${{ matrix.numpy }} -c conda-forge --override-channels conda-recipe-cf
99115
- name: Upload artifact
100116
uses: actions/upload-artifact@v4
101117
with:
@@ -108,8 +124,8 @@ jobs:
108124

109125
strategy:
110126
matrix:
111-
python: ["3.10", "3.11", "3.12"]
112-
numpy: ["2*"]
127+
python: ["3.10", "3.11", "3.12", "3.13"]
128+
numpy: ['numpy">=2"']
113129
experimental: [false]
114130
runner: [ubuntu-latest]
115131
continue-on-error: ${{ matrix.experimental }}
@@ -176,8 +192,8 @@ jobs:
176192

177193
strategy:
178194
matrix:
179-
python: ["3.10", "3.11", "3.12"]
180-
numpy: ["2*"]
195+
python: ["3.10", "3.11", "3.12", "3.13"]
196+
numpy: ["numpy'>=2'"]
181197
experimental: [false]
182198
runner: [windows-latest]
183199
continue-on-error: ${{ matrix.experimental }}

.github/workflows/conda-package.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ jobs:
114114
numpy: '2.3'
115115
- python: '3.12'
116116
numpy: '2.3'
117+
- python: '3.13'
118+
numpy: '2.3'
117119
env:
118120
CHANNELS: -c https://software.repos.intel.com/python/conda -c conda-forge --override-channels
119121

@@ -184,6 +186,8 @@ jobs:
184186
numpy: '2.3'
185187
- python: '3.12'
186188
numpy: '2.3'
189+
- python: '3.13'
190+
numpy: '2.3'
187191
env:
188192
CHANNELS: -c https://software.repos.intel.com/python/conda -c conda-forge --override-channels
189193

0 commit comments

Comments
 (0)