Freeze Cython dep

This commit is contained in:
Alan Boudreault
2016-10-26 10:01:34 -04:00
parent 8aa09c5fab
commit 4f00f5fada
2 changed files with 3 additions and 3 deletions

View File

@@ -212,7 +212,7 @@ class NoPatchExtension(Extension):
base.__init__(self, *args, **kwargs) base.__init__(self, *args, **kwargs)
else: else:
Extension.__init__(self, *args, **kwargs) Extension.__init__(self, *args, **kwargs)
class build_extensions(build_ext): class build_extensions(build_ext):
@@ -388,7 +388,7 @@ def run_setup(extensions):
# 1.) build_ext eats errors at compile time, letting the install complete while producing useful feedback # 1.) build_ext eats errors at compile time, letting the install complete while producing useful feedback
# 2.) there could be a case where the python environment has cython installed but the system doesn't have build tools # 2.) there could be a case where the python environment has cython installed but the system doesn't have build tools
if pre_build_check(): if pre_build_check():
kw['setup_requires'] = ['Cython>=0.20'] kw['setup_requires'] = ['Cython>=0.20,<0.25']
else: else:
sys.stderr.write("Bypassing Cython setup requirement\n") sys.stderr.write("Bypassing Cython setup requirement\n")

View File

@@ -11,5 +11,5 @@ pure-sasl
twisted twisted
gevent>=1.0 gevent>=1.0
eventlet eventlet
cython>=0.21 cython>=0.20,<0.25
packaging packaging