Skip to content

Commit a82ae4b

Browse files
committed
1
1 parent 5791dc8 commit a82ae4b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/build-push.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
- name: Overwrite for Linux 64
8989
if: runner.os == 'Linux' && matrix.platform == 'x86_64'
9090
run: |
91-
echo "CIBW_BUILD=cp3*_x86_64" >> $GITHUB_ENV
91+
echo "CIBW_BUILD=cp312*_x86_64" >> $GITHUB_ENV
9292
9393
- name: Overwrite for Linux PyPy
9494
if: runner.os == 'Linux' && matrix.platform == 'PyPy'

setup.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,9 @@ def run_setup(extensions):
426426
# 1.) build_ext eats errors at compile time, letting the install complete while producing useful feedback
427427
# 2.) there could be a case where the python environment has cython installed but the system doesn't have build tools
428428
if pre_build_check():
429-
cython_dep = 'Cython>=3.0.11,<4'
429+
cython_dep = 'Cython>=0.20,!=0.25,<0.30'
430+
if sys.version_info >= (3,12):
431+
cython_dep = 'Cython>=3.0.11,<4'
430432
user_specified_cython_version = os.environ.get('CASS_DRIVER_ALLOWED_CYTHON_VERSION')
431433
if user_specified_cython_version is not None:
432434
cython_dep = 'Cython==%s' % (user_specified_cython_version,)

0 commit comments

Comments
 (0)