@@ -18,23 +18,28 @@ jobs:
1818 strategy :
1919 fail-fast : false
2020 matrix :
21- python : ['pypy-3.10 ', '3.8 ', '3.9 ', '3.10 ', '3.11', '3.12 ']
21+ python : ['3.9 ', '3.10 ', '3.11 ', '3.12 ', '3.13 ']
2222 arch : ['x86', 'x64']
2323 lsp : ['']
2424 lsp_extract_file : ['']
2525 extra_name : ['']
2626 include :
27- - python : ' 3.8 '
27+ - python : ' 3.9 '
2828 arch : ' x64'
2929 lsp : ' https://raw.githubusercontent.com/python-trio/trio-ci-assets/master/komodia-based-vpn-setup.zip'
3030 lsp_extract_file : ' komodia-based-vpn-setup.exe'
3131 extra_name : ' , with Komodia LSP'
32- - python : ' 3.8 '
32+ - python : ' 3.9 '
3333 arch : ' x64'
3434 lsp : ' https://www.proxifier.com/download/legacy/ProxifierSetup342.exe'
3535 lsp_extract_file : ' '
3636 extra_name : ' , with IFS LSP'
37- # - python: '3.8'
37+ - python : ' pypy-3.10'
38+ arch : ' x64'
39+ lsp : ' '
40+ lsp_extract_file : ' '
41+ extra_name : ' '
42+ # - python: '3.9'
3843 # arch: 'x64'
3944 # lsp: 'http://download.pctools.com/mirror/updates/9.0.0.2308-SDavfree-lite_en.exe'
4045 # lsp_extract_file: ''
@@ -87,16 +92,16 @@ jobs:
8792 strategy :
8893 fail-fast : false
8994 matrix :
90- python : ['pypy-3.10', '3.8', '3. 9', '3.10', '3.11', '3.12', '3.13']
95+ python : ['pypy-3.10', '3.9', '3.10', '3.11', '3.12', '3.13']
9196 check_formatting : ['0']
9297 no_test_requirements : ['0']
9398 extra_name : ['']
9499 include :
95- - python : ' 3.12 '
100+ - python : ' 3.13 '
96101 check_formatting : ' 1'
97102 extra_name : ' , check formatting'
98103 # separate test run that doesn't install test-requirements.txt
99- - python : ' 3.8 '
104+ - python : ' 3.9 '
100105 no_test_requirements : ' 1'
101106 extra_name : ' , no test-requirements'
102107 continue-on-error : >-
@@ -143,7 +148,7 @@ jobs:
143148 strategy :
144149 fail-fast : false
145150 matrix :
146- python : ['pypy-3.10', '3.8 ', '3.9 ', '3.10 ', '3.11 ', '3.12 ']
151+ python : ['pypy-3.10', '3.9 ', '3.10 ', '3.11 ', '3.12 ', '3.13 ']
147152 continue-on-error : >-
148153 ${{
149154 (
@@ -203,7 +208,15 @@ jobs:
203208 strategy :
204209 fail-fast : false
205210 matrix :
206- python : ['3.8', '3.12']
211+ include :
212+ - python : ' 3.9' # We support running on cython 2 and 3 for 3.9
213+ cython : ' <3' # cython 2
214+ - python : ' 3.9'
215+ cython : ' >=3' # cython 3 (or greater)
216+ - python : ' 3.11' # 3.11 is the last version Cy2 supports
217+ cython : ' <3' # cython 2
218+ - python : ' 3.13' # We support running cython3 on 3.13
219+ cython : ' >=3' # cython 3 (or greater)
207220 steps :
208221 - name : Checkout
209222 uses : actions/checkout@v4
@@ -216,18 +229,11 @@ jobs:
216229 - name : install trio and setuptools
217230 run : python -m pip install --upgrade pip . setuptools
218231
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'
232+ - name : install cython & compile pyx file
233+ run : |
234+ python -m pip install "cython${{ matrix.cython }}"
235+ cythonize --inplace tests/cython/test_cython.pyx
225236
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
231237 - name : import & run module
232238 run : python -c 'import tests.cython.test_cython'
233239
0 commit comments