Skip to content

Commit 451e1ec

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 451e1ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ env:
1212
CIBW_TEST_COMMAND_WINDOWS: "pytest {project}/tests/unit -k \"not (test_deserialize_date_range_year or test_datetype or test_libevreactor)\" "
1313
CIBW_BEFORE_TEST: "pip install -r {project}/test-requirements.txt"
1414
CIBW_BEFORE_BUILD_LINUX: "rm -rf ~/.pyxbld && rpm --import https://repo.almalinux.org/almalinux/RPM-GPG-KEY-AlmaLinux && yum install -y libffi-devel libev libev-devel openssl openssl-devel"
15-
CIBW_ENVIRONMENT: "CASS_DRIVER_BUILD_CONCURRENCY=2 CFLAGS='-g0 -O3'"
15+
CIBW_ENVIRONMENT: "CASS_DRIVER_BUILD_CONCURRENCY=2 CFLAGS='-g0 -O3' CASS_DRIVER_ALLOWED_CYTHON_VERSION=3.0.11"
1616
CIBW_SKIP: cp36* cp37* pp*i686 *musllinux*
1717
CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_28
1818
CIBW_MANYLINUX_PYPY_X86_64_IMAGE: manylinux_2_28

0 commit comments

Comments
 (0)