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.
This commit is contained in:
parent
3c20338884
commit
df1719d4c9
10
setup.py
10
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"
|
||||
|
|
Loading…
Reference in New Issue