Skip to content

Commit

Permalink
make sure to use a cython version >=0.29.21, else we hit issue #51
Browse files Browse the repository at this point in the history
  • Loading branch information
antocuni committed Oct 18, 2021
1 parent 7d874a4 commit 94939ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
pip install -U pip # so that we can use wheels
# tox creates the sdist: we need cython to be installed in the env which
# creates the sdist, to generate the .c files
pip install tox cython>=0.25
pip install tox cython>=0.29.21
- name: Run tox
run: tox -e ${{ matrix.toxenv }}
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@
def my_cythonize(extensions):
try:
import Cython
if Cython.__version__ < '0.25':
print ('WARNING: required cython>0.25, found %s. The .c files will '
if Cython.__version__ < '0.29.21':
print ('WARNING: required cython>0.29.21, found %s. The .c files will '
'NOT be regenerated' % Cython.__version__)
raise ImportError
from Cython.Build import cythonize
Expand Down

0 comments on commit 94939ce

Please sign in to comment.