File tree Expand file tree Collapse file tree 1 file changed +8
-13
lines changed Expand file tree Collapse file tree 1 file changed +8
-13
lines changed Original file line number Diff line number Diff line change @@ -205,13 +205,13 @@ jobs:
205
205
matrix :
206
206
include :
207
207
- python : ' 3.9' # We support running on cython 2 and 3 for 3.9
208
- cython : ' 2 '
208
+ cython : ' <3 ' # cython 2
209
209
- python : ' 3.9'
210
- cython : ' 3 '
211
- - python : ' 3.11' # 3.11 is the last version Cy2 supports
212
- cython : ' 2 '
213
- - python : ' 3.13' # We support running cython3 on 3.13
214
- cython : ' 3 '
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)
215
215
steps :
216
216
- name : Checkout
217
217
uses : actions/checkout@v4
@@ -226,13 +226,8 @@ jobs:
226
226
227
227
- name : install cython & compile pyx file
228
228
run : |
229
- if [ "${{ matrix.cython }}" == "2" ]; then
230
- python -m pip install "cython<3"
231
- cythonize -i tests/cython/test_cython.pyx
232
- elif [ "${{ matrix.cython }}" == "3" ]; then
233
- python -m pip install "cython>=3"
234
- cythonize --inplace tests/cython/test_cython.pyx
235
- fi
229
+ python -m pip install "cython${{ matrix.cython }}"
230
+ cythonize --inplace tests/cython/test_cython.pyx
236
231
237
232
- name : import & run module
238
233
run : python -c 'import tests.cython.test_cython'
You can’t perform that action at this time.
0 commit comments