From 3172844cdd596e160ed75633720045dbd759e51e Mon Sep 17 00:00:00 2001 From: Brad Schoening Date: Wed, 7 Aug 2024 16:54:42 -0400 Subject: [PATCH 1/2] Upgraded cython to 3.0.x --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index a8dda2d9c2..6748a6e45f 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,7 @@ envlist = py{38,39,310,311,312},pypy [base] deps = pytest packaging - cython>=0.20,<0.30 + cython>=3.0 eventlet gevent twisted[tls] From 5d5d5654277c5b8c394763431d2f69b4bea632a9 Mon Sep 17 00:00:00 2001 From: Brad Schoening Date: Wed, 4 Sep 2024 22:55:58 -0400 Subject: [PATCH 2/2] Updated cython version --- setup.py | 2 +- test-requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 1558512fcf..6948b1af2b 100644 --- a/setup.py +++ b/setup.py @@ -368,7 +368,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>=3.0' 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,) diff --git a/test-requirements.txt b/test-requirements.txt index 94ac611707..6499e20841 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -8,7 +8,7 @@ pure-sasl twisted[tls] gevent eventlet -cython>=0.20,<0.30 +cython>=3.0 packaging futurist asynctest