Skip to content

Commit a08033c

Browse files
authored
Run ci for python 3.12 to 3.14 (#823)
1 parent 1e6148c commit a08033c

2 files changed

Lines changed: 28 additions & 2 deletions

File tree

.github/actions/Build_and_Test_cppyy/action.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ runs:
5252
# Install cppyy
5353
git clone --depth=1 https://github.com/compiler-research/cppyy.git
5454
cd cppyy
55+
python -m pip install uv
5556
python -m pip install --upgrade . --no-deps
5657
cd ..
5758
@@ -78,7 +79,9 @@ runs:
7879
python -m pip install --upgrade pip
7980
python -m pip install pytest
8081
python -m pip install pytest-xdist
81-
python -m pip install numba==0.61.2
82+
if [[ "${{ matrix.python-version }}" != "3.14" ]]; then
83+
python -m uv pip install numba==0.61.2
84+
fi
8285
echo ::endgroup::
8386
echo ::group::Run complete test suite
8487
set -o pipefail

.github/workflows/main.yml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,20 +31,23 @@ jobs:
3131
llvm_enable_projects: "clang"
3232
llvm_targets_to_build: "host;NVPTX"
3333
Valgrind: On
34+
python-version: '3.14'
3435
- name: ubu24-arm-gcc12-clang-repl-20
3536
os: ubuntu-24.04-arm
3637
compiler: gcc-12
3738
clang-runtime: '20'
3839
cppyy: On
3940
llvm_enable_projects: "clang"
4041
llvm_targets_to_build: "host;NVPTX"
42+
python-version: '3.13'
4143
- name: ubu24-arm-gcc12-clang-repl-19-cppyy
4244
os: ubuntu-24.04-arm
4345
compiler: gcc-12
4446
clang-runtime: '19'
4547
cppyy: On
4648
llvm_enable_projects: "clang"
4749
llvm_targets_to_build: "host;NVPTX"
50+
python-version: '3.12'
4851
- name: ubu24-arm-gcc14-clang20-cling-cppyy
4952
os: ubuntu-24.04-arm
5053
compiler: gcc-14
@@ -54,6 +57,7 @@ jobs:
5457
cling-version: '1.3'
5558
llvm_enable_projects: "clang"
5659
llvm_targets_to_build: "host;NVPTX"
60+
python-version: '3.14'
5761
# Ubuntu X86 Jobs
5862
- name: ubu24-x86-gcc12-clang-repl-21
5963
os: ubuntu-24.04
@@ -63,13 +67,15 @@ jobs:
6367
llvm_enable_projects: "clang"
6468
llvm_targets_to_build: "host;NVPTX"
6569
Valgrind: On
70+
python-version: '3.14'
6671
- name: ubu24-x86-gcc12-clang-repl-20
6772
os: ubuntu-24.04
6873
compiler: gcc-12
6974
clang-runtime: '20'
7075
cppyy: On
7176
llvm_enable_projects: "clang"
7277
llvm_targets_to_build: "host;NVPTX"
78+
python-version: '3.13'
7379
- name: ubu24-x86-gcc12-clang-repl-20-out-of-process
7480
os: ubuntu-24.04
7581
compiler: gcc-12
@@ -79,6 +85,7 @@ jobs:
7985
oop-jit: On
8086
coverage: true
8187
Valgrind: On
88+
python-version: '3.13'
8289
- name: ubu24-x86-gcc12-clang-repl-20-out-of-process-coverage
8390
os: ubuntu-24.04
8491
compiler: gcc-12
@@ -87,13 +94,15 @@ jobs:
8794
llvm_targets_to_build: "host;NVPTX"
8895
oop-jit: On
8996
coverage: true
97+
python-version: '3.13'
9098
- name: ubu24-x86-gcc12-clang-repl-19-cppyy
9199
os: ubuntu-24.04
92100
compiler: gcc-12
93101
clang-runtime: '19'
94102
cppyy: On
95103
llvm_enable_projects: "clang"
96104
llvm_targets_to_build: "host;NVPTX"
105+
python-version: '3.12'
97106
- name: ubu24-x86-gcc14-clang20-cling-cppyy
98107
os: ubuntu-24.04
99108
compiler: gcc-14
@@ -103,6 +112,7 @@ jobs:
103112
cling-version: '1.3'
104113
llvm_enable_projects: "clang"
105114
llvm_targets_to_build: "host;NVPTX"
115+
python-version: '3.14'
106116
# MacOS Arm Jobs
107117
- name: osx26-arm-clang-clang-repl-21
108118
os: macos-26
@@ -111,27 +121,31 @@ jobs:
111121
cppyy: On
112122
llvm_enable_projects: "clang"
113123
llvm_targets_to_build: "host"
124+
python-version: '3.14'
114125
- name: osx26-arm-clang-clang-repl-20-out-of-process
115126
os: macos-26
116127
compiler: clang
117128
clang-runtime: '20'
118129
llvm_enable_projects: "clang;compiler-rt"
119130
llvm_targets_to_build: "host"
120131
oop-jit: On
132+
python-version: '3.13'
121133
- name: osx26-arm-clang-clang-repl-20
122134
os: macos-26
123135
compiler: clang
124136
clang-runtime: '20'
125137
cppyy: On
126138
llvm_enable_projects: "clang"
127139
llvm_targets_to_build: "host"
140+
python-version: '3.13'
128141
- name: osx26-arm-clang-clang-repl-19-cppyy
129142
os: macos-26
130143
compiler: clang
131144
clang-runtime: '19'
132145
cppyy: On
133146
llvm_enable_projects: "clang"
134147
llvm_targets_to_build: "host"
148+
python-version: '3.12'
135149
- name: osx26-arm-clang-clang20-cling-cppyy
136150
os: macos-26
137151
compiler: clang
@@ -141,6 +155,7 @@ jobs:
141155
cling-version: '1.3'
142156
llvm_enable_projects: "clang"
143157
llvm_targets_to_build: "host;NVPTX"
158+
python-version: '3.14'
144159
# MacOS X86 Jobs
145160
- name: osx15-x86-clang-clang-repl-21
146161
os: macos-15-intel
@@ -149,20 +164,23 @@ jobs:
149164
cppyy: On
150165
llvm_enable_projects: "clang"
151166
llvm_targets_to_build: "host"
167+
python-version: '3.14'
152168
- name: osx15-x86-clang-clang-repl-20
153169
os: macos-15-intel
154170
compiler: clang
155171
clang-runtime: '20'
156172
cppyy: On
157173
llvm_enable_projects: "clang"
158174
llvm_targets_to_build: "host"
175+
python-version: '3.13'
159176
- name: osx15-x86-clang-clang-repl-19-cppyy
160177
os: macos-15-intel
161178
compiler: clang
162179
clang-runtime: '19'
163180
cppyy: On
164181
llvm_enable_projects: "clang"
165182
llvm_targets_to_build: "host"
183+
python-version: '3.12'
166184
- name: osx15-x86-clang-clang20-cling-cppyy
167185
os: macos-15-intel
168186
compiler: clang
@@ -172,13 +190,15 @@ jobs:
172190
cling-version: '1.3'
173191
llvm_enable_projects: "clang"
174192
llvm_targets_to_build: "host;NVPTX"
193+
python-version: '3.14'
175194
# Windows Arm Jobs
176195
- name: win11-msvc-clang-repl-21
177196
os: windows-11-arm
178197
compiler: msvc
179198
clang-runtime: '21'
180199
llvm_enable_projects: "clang"
181200
llvm_targets_to_build: "host;NVPTX"
201+
python-version: '3.14'
182202
- name: win11-msvc-clang20-cling
183203
os: windows-11-arm
184204
compiler: msvc
@@ -187,13 +207,15 @@ jobs:
187207
cling-version: '1.3'
188208
llvm_enable_projects: "clang"
189209
llvm_targets_to_build: "host;NVPTX"
210+
python-version: '3.14'
190211
# Windows X86 Jobs
191212
- name: win2025-msvc-clang-repl-21
192213
os: windows-2025
193214
compiler: msvc
194215
clang-runtime: '21'
195216
llvm_enable_projects: "clang"
196217
llvm_targets_to_build: "host;NVPTX"
218+
python-version: '3.14'
197219
- name: win2025-msvc-clang20-cling
198220
os: windows-2025
199221
compiler: msvc
@@ -202,6 +224,7 @@ jobs:
202224
cling-version: '1.3'
203225
llvm_enable_projects: "clang"
204226
llvm_targets_to_build: "host;NVPTX"
227+
python-version: '3.14'
205228

206229
steps:
207230
- uses: actions/checkout@v6
@@ -211,7 +234,7 @@ jobs:
211234
- name: Set up Python
212235
uses: actions/setup-python@v6
213236
with:
214-
python-version: '3.11'
237+
python-version: ${{ matrix.python-version }}
215238

216239
- name: Save PR Info
217240
uses: ./.github/actions/Miscellaneous/Save_PR_Info

0 commit comments

Comments
 (0)