Skip to content

Commit 822a925

Browse files
committed
github actions: user newer cython versions
`setup.py` is pinning to use `Cython>=0.20,!=0.25,<0.30` code generated form those old versions is not compiling anymore with python3.13 in turn it cause libev part to be missing in the driver, which surface other issue with asyncio eventloop we currently use as default in this chnage we pin to newer version of cython when we build the wheel Ref: #409
1 parent 63dcd36 commit 822a925

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ def run_setup(extensions):
406406
# 1.) build_ext eats errors at compile time, letting the install complete while producing useful feedback
407407
# 2.) there could be a case where the python environment has cython installed but the system doesn't have build tools
408408
if pre_build_check():
409-
cython_dep = 'Cython>=0.20,!=0.25,<0.30'
409+
cython_dep = 'Cython>=3.0.11,<4'
410410
user_specified_cython_version = os.environ.get('CASS_DRIVER_ALLOWED_CYTHON_VERSION')
411411
if user_specified_cython_version is not None:
412412
cython_dep = 'Cython==%s' % (user_specified_cython_version,)

0 commit comments

Comments
 (0)