Skip to content

Commit ac0275a

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

File tree

2 files changed

+40
-20
lines changed

2 files changed

+40
-20
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: 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)