@@ -18,23 +18,23 @@ jobs:
18
18
strategy :
19
19
fail-fast : false
20
20
matrix :
21
- python : ['pypy-3.10', '3.8 ', '3.9 ', '3.10 ', '3.11 ', '3.12 ']
21
+ python : ['pypy-3.10', '3.9 ', '3.10 ', '3.11 ', '3.12 ', '3.13 ']
22
22
arch : ['x86', 'x64']
23
23
lsp : ['']
24
24
lsp_extract_file : ['']
25
25
extra_name : ['']
26
26
include :
27
- - python : ' 3.8 '
27
+ - python : ' 3.9 '
28
28
arch : ' x64'
29
29
lsp : ' https://raw.githubusercontent.com/python-trio/trio-ci-assets/master/komodia-based-vpn-setup.zip'
30
30
lsp_extract_file : ' komodia-based-vpn-setup.exe'
31
31
extra_name : ' , with Komodia LSP'
32
- - python : ' 3.8 '
32
+ - python : ' 3.9 '
33
33
arch : ' x64'
34
34
lsp : ' https://www.proxifier.com/download/legacy/ProxifierSetup342.exe'
35
35
lsp_extract_file : ' '
36
36
extra_name : ' , with IFS LSP'
37
- # - python: '3.8 '
37
+ # - python: '3.9 '
38
38
# arch: 'x64'
39
39
# lsp: 'http://download.pctools.com/mirror/updates/9.0.0.2308-SDavfree-lite_en.exe'
40
40
# lsp_extract_file: ''
@@ -87,16 +87,16 @@ jobs:
87
87
strategy :
88
88
fail-fast : false
89
89
matrix :
90
- python : ['pypy-3.10', '3.8', '3. 9', '3.10', '3.11', '3.12', '3.13']
90
+ python : ['pypy-3.10', '3.9', '3.10', '3.11', '3.12', '3.13']
91
91
check_formatting : ['0']
92
92
no_test_requirements : ['0']
93
93
extra_name : ['']
94
94
include :
95
- - python : ' 3.12 '
95
+ - python : ' 3.13 '
96
96
check_formatting : ' 1'
97
97
extra_name : ' , check formatting'
98
98
# separate test run that doesn't install test-requirements.txt
99
- - python : ' 3.8 '
99
+ - python : ' 3.9 '
100
100
no_test_requirements : ' 1'
101
101
extra_name : ' , no test-requirements'
102
102
continue-on-error : >-
@@ -143,7 +143,7 @@ jobs:
143
143
strategy :
144
144
fail-fast : false
145
145
matrix :
146
- python : ['pypy-3.10', '3.8 ', '3.9 ', '3.10 ', '3.11 ', '3.12 ']
146
+ python : ['pypy-3.10', '3.9 ', '3.10 ', '3.11 ', '3.12 ', '3.13 ']
147
147
continue-on-error : >-
148
148
${{
149
149
(
@@ -203,7 +203,15 @@ jobs:
203
203
strategy :
204
204
fail-fast : false
205
205
matrix :
206
- python : ['3.8', '3.12']
206
+ include :
207
+ - python : ' 3.9' # We support running on cython 2 and 3 for 3.9
208
+ cython : ' <3' # cython 2
209
+ - python : ' 3.9'
210
+ cython : ' >=3' # cython 3 (or greater)
211
+ - python : ' 3.11' # 3.11 is the last version Cy2 supports
212
+ cython : ' <3' # cython 2
213
+ - python : ' 3.13' # We support running cython3 on 3.13
214
+ cython : ' >=3' # cython 3 (or greater)
207
215
steps :
208
216
- name : Checkout
209
217
uses : actions/checkout@v4
@@ -216,18 +224,11 @@ jobs:
216
224
- name : install trio and setuptools
217
225
run : python -m pip install --upgrade pip . setuptools
218
226
219
- - name : install cython<3
220
- run : python -m pip install "cython<3"
221
- - name : compile pyx file
222
- run : cythonize -i tests/cython/test_cython.pyx
223
- - name : import & run module
224
- run : python -c 'import tests.cython.test_cython'
227
+ - name : install cython & compile pyx file
228
+ run : |
229
+ python -m pip install "cython${{ matrix.cython }}"
230
+ cythonize --inplace tests/cython/test_cython.pyx
225
231
226
- - name : install cython>=3
227
- run : python -m pip install "cython>=3"
228
- - name : compile pyx file
229
- # different cython version should trigger a re-compile, but --force just in case
230
- run : cythonize --inplace --force tests/cython/test_cython.pyx
231
232
- name : import & run module
232
233
run : python -c 'import tests.cython.test_cython'
233
234
0 commit comments