Skip to content

Commit d5049d7

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

File tree

2 files changed

+56
-26
lines changed

2 files changed

+56
-26
lines changed

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

Lines changed: 40 additions & 14 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:
@@ -104,14 +120,19 @@ jobs:
104120

105121
test_linux:
106122
needs: build_linux
107-
runs-on: ${{ matrix.runner }}
123+
runs-on: ubuntu-latest
108124

109125
strategy:
110126
matrix:
111-
python: ["3.10", "3.11", "3.12"]
112-
numpy: ["2*"]
113-
experimental: [false]
114-
runner: [ubuntu-latest]
127+
include:
128+
- python: "3.10"
129+
numpy: "2.2"
130+
- python: "3.11"
131+
numpy: "2.3"
132+
- python: "3.12"
133+
numpy: "2.3"
134+
- python: "3.13"
135+
numpy: "2.3"
115136
continue-on-error: ${{ matrix.experimental }}
116137
env:
117138
CHANNELS: -c conda-forge --override-channels
@@ -172,14 +193,19 @@ jobs:
172193
173194
test_windows:
174195
needs: build_windows
175-
runs-on: ${{ matrix.runner }}
196+
runs-on: windows-latest
176197

177198
strategy:
178199
matrix:
179-
python: ["3.10", "3.11", "3.12"]
180-
numpy: ["2*"]
181-
experimental: [false]
182-
runner: [windows-latest]
200+
include:
201+
- python: "3.10"
202+
numpy: "2.2"
203+
- python: "3.11"
204+
numpy: "2.3"
205+
- python: "3.12"
206+
numpy: "2.3"
207+
- python: "3.13"
208+
numpy: "2.3"
183209
continue-on-error: ${{ matrix.experimental }}
184210
env:
185211
CHANNELS: -c conda-forge --override-channels

.github/workflows/conda-package.yml

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -108,12 +108,14 @@ jobs:
108108
strategy:
109109
matrix:
110110
include:
111-
- python: '3.10'
112-
numpy: '2.2'
113-
- python: '3.11'
114-
numpy: '2.3'
115-
- python: '3.12'
116-
numpy: '2.3'
111+
- python: "3.10"
112+
numpy: "2.2"
113+
- python: "3.11"
114+
numpy: "2.3"
115+
- python: "3.12"
116+
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

@@ -178,12 +180,14 @@ jobs:
178180
strategy:
179181
matrix:
180182
include:
181-
- python: '3.10'
182-
numpy: '2.2'
183-
- python: '3.11'
184-
numpy: '2.3'
185-
- python: '3.12'
186-
numpy: '2.3'
183+
- python: "3.10"
184+
numpy: "2.2"
185+
- python: "3.11"
186+
numpy: "2.3"
187+
- python: "3.12"
188+
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)