mirror of https://github.com/apache/cassandra
CASSANDRA-20997: Add assertion for Python 3.12+ Cython incompatibility in setup.py
This commit is contained in:
parent
e4162cef5a
commit
79cd86f664
|
|
@ -23,6 +23,8 @@ def get_extensions():
|
|||
if "--no-compile" in sys.argv:
|
||||
return []
|
||||
|
||||
assert sys.version_info < (3, 12), "Cython < 3.0 is incompatible with Python 3.12+ C-API changes. See CASSANDRA-21482."
|
||||
|
||||
from Cython.Build import cythonize
|
||||
return cythonize("cqlshlib/copyutil.py")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue