python-cassandra-driver/0002-Increase-the-upper-limit-version-of-cython.patch
tzing_t 7fb5637714 Fix build error, increase the upper limit version of cython
(cherry picked from commit bc2b58fdcbc1e1b03150a8ed06b8dd79e079513a)
2025-04-14 09:01:50 +08:00

14 lines
750 B
Diff

diff --git a/setup.py b/setup.py
index 0e48c3c..966e037 100644
--- a/setup.py
+++ b/setup.py
@@ -375,7 +375,7 @@ def run_setup(extensions):
# 1.) build_ext eats errors at compile time, letting the install complete while producing useful feedback
# 2.) there could be a case where the python environment has cython installed but the system doesn't have build tools
if pre_build_check():
- cython_dep = 'Cython>=0.20,!=0.25,<0.30'
+ cython_dep = 'Cython>=0.20,!=0.25'
user_specified_cython_version = os.environ.get('CASS_DRIVER_ALLOWED_CYTHON_VERSION')
if user_specified_cython_version is not None:
cython_dep = 'Cython==%s' % (user_specified_cython_version,)