@@ -18,23 +18,23 @@ 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 : ['pypy-3.10', '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: '3.9 '
3838 # arch: 'x64'
3939 # lsp: 'http://download.pctools.com/mirror/updates/9.0.0.2308-SDavfree-lite_en.exe'
4040 # lsp_extract_file: ''
@@ -87,16 +87,16 @@ jobs:
8787 strategy :
8888 fail-fast : false
8989 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']
9191 check_formatting : ['0']
9292 no_test_requirements : ['0']
9393 extra_name : ['']
9494 include :
95- - python : ' 3.12 '
95+ - python : ' 3.13 '
9696 check_formatting : ' 1'
9797 extra_name : ' , check formatting'
9898 # separate test run that doesn't install test-requirements.txt
99- - python : ' 3.8 '
99+ - python : ' 3.9 '
100100 no_test_requirements : ' 1'
101101 extra_name : ' , no test-requirements'
102102 continue-on-error : >-
@@ -143,7 +143,7 @@ jobs:
143143 strategy :
144144 fail-fast : false
145145 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 ']
147147 continue-on-error : >-
148148 ${{
149149 (
@@ -203,7 +203,15 @@ jobs:
203203 strategy :
204204 fail-fast : false
205205 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)
207215 steps :
208216 - name : Checkout
209217 uses : actions/checkout@v4
@@ -216,18 +224,11 @@ jobs:
216224 - name : install trio and setuptools
217225 run : python -m pip install --upgrade pip . setuptools
218226
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
225231
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
231232 - name : import & run module
232233 run : python -c 'import tests.cython.test_cython'
233234
0 commit comments