From 4f00f5fada77ec2b33bdda6af01c6d4895555046 Mon Sep 17 00:00:00 2001 From: Alan Boudreault Date: Wed, 26 Oct 2016 10:01:34 -0400 Subject: [PATCH] Freeze Cython dep --- setup.py | 4 ++-- test-requirements.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index a6fcc7b4..6dba9cc7 100644 --- a/setup.py +++ b/setup.py @@ -212,7 +212,7 @@ class NoPatchExtension(Extension): base.__init__(self, *args, **kwargs) else: Extension.__init__(self, *args, **kwargs) - + 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 # 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(): - kw['setup_requires'] = ['Cython>=0.20'] + kw['setup_requires'] = ['Cython>=0.20,<0.25'] else: sys.stderr.write("Bypassing Cython setup requirement\n") diff --git a/test-requirements.txt b/test-requirements.txt index 5e255263..c84faa80 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -11,5 +11,5 @@ pure-sasl twisted gevent>=1.0 eventlet -cython>=0.21 +cython>=0.20,<0.25 packaging