1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-07-05 11:29:15 -04:00
ports/databases/py-cassandra-driver/files/patch-setup.py
Wen Heping b81aa9d35a - Fix build with cython-0.29
Submitted by:	wen@(myself, via email)
Approved by:	maintainer
2018-11-07 11:12:58 +00:00

11 lines
718 B
Python

--- setup.py.orig 2018-10-31 06:47:06 UTC
+++ setup.py
@@ -395,7 +395,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.29'
+ cython_dep = 'Cython>=0.20,!=0.25,<0.30'
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,)