Skip to content

Commit 4f00f5f

Browse files
committed
Freeze Cython dep
1 parent 8aa09c5 commit 4f00f5f

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ def __init__(self, *args, **kwargs):
212212
base.__init__(self, *args, **kwargs)
213213
else:
214214
Extension.__init__(self, *args, **kwargs)
215-
215+
216216

217217
class build_extensions(build_ext):
218218

@@ -388,7 +388,7 @@ def run_setup(extensions):
388388
# 1.) build_ext eats errors at compile time, letting the install complete while producing useful feedback
389389
# 2.) there could be a case where the python environment has cython installed but the system doesn't have build tools
390390
if pre_build_check():
391-
kw['setup_requires'] = ['Cython>=0.20']
391+
kw['setup_requires'] = ['Cython>=0.20,<0.25']
392392
else:
393393
sys.stderr.write("Bypassing Cython setup requirement\n")
394394

test-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ pure-sasl
1111
twisted
1212
gevent>=1.0
1313
eventlet
14-
cython>=0.21
14+
cython>=0.20,<0.25
1515
packaging

0 commit comments

Comments
 (0)