davemds pushed a commit to branch master.

http://git.enlightenment.org/bindings/python/python-efl.git/commit/?id=df1719d4c962ea08daa84ca0455526c54ab09bc9

commit df1719d4c962ea08daa84ca0455526c54ab09bc9
Author: Dave Andreoli <d...@gurumeditation.it>
Date:   Tue Oct 6 20:54:49 2015 +0200

    Blacklist Cython 0.23.X
    
    The 0.23 series break our enum usage, 0.24 will come with a new enum
    system, so wait for it and blacklist the broken one for now.
---
 setup.py | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/setup.py b/setup.py
index b5e0032..5a3c6d2 100755
--- a/setup.py
+++ b/setup.py
@@ -20,7 +20,7 @@ VERSION = "%d.%d" % (vers[0], vers[1] if vers[2] < 99 else 
vers[1] + 1)
 
 # dependencies
 CYTHON_MIN_VERSION = "0.21"
-# CYTHON_BLACKLIST = ("0.21.1", "0.21.2") # only used if py3
+CYTHON_BLACKLIST = ("0.23")
 EFL_MIN_VER = RELEASE
 ELM_MIN_VER = RELEASE
 
@@ -230,10 +230,10 @@ if set(("build", "build_ext", "install", "bdist", 
"sdist")) & set(sys.argv):
             raise SystemExit("too old! Found %s  Needed %s" % (
                              Cython.__version__, CYTHON_MIN_VERSION))
 
-        # Cython PyMethod_New() is broken for py3! blacklisted
-        # if sys.version_info[0] > 2 and Cython.__version__ in 
CYTHON_BLACKLIST:
-        #     raise SystemExit("found %s, it's broken! Need another release" %
-        #                      Cython.__version__)
+        # check black-listed releases
+        if Cython.__version__.startswith(CYTHON_BLACKLIST):
+            raise SystemExit("found %s, it's broken! Need another release" %
+                             Cython.__version__)
 
         sys.stdout.write("OK, found %s\n" % Cython.__version__)
         module_suffix = ".pyx"

-- 


Reply via email to