!14 [sync] PR-13: Fix build error, increase the upper limit version of cython
From: @openeuler-sync-bot Reviewed-by: @tzing_t Signed-off-by: @tzing_t
This commit is contained in:
commit
34df9e33a7
13
0002-Increase-the-upper-limit-version-of-cython.patch
Normal file
13
0002-Increase-the-upper-limit-version-of-cython.patch
Normal file
@ -0,0 +1,13 @@
|
||||
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,)
|
||||
@ -1,12 +1,13 @@
|
||||
%global _empty_manifest_terminate_build 0
|
||||
Name: python-cassandra-driver
|
||||
Version: 3.29.0
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: DataStax Driver for Apache Cassandra
|
||||
License: Apache-2.0
|
||||
URL: http://github.com/datastax/python-driver
|
||||
Source0: https://files.pythonhosted.org/packages/59/28/3e0ea7003910166525304b65a8ffa190666b483c2cc9c38ed5746a25d0fd/cassandra-driver-3.29.0.tar.gz
|
||||
Patch1: 0001-Increase-the-upper-limit-version-of-geomet.patch
|
||||
Patch2: 0002-Increase-the-upper-limit-version-of-cython.patch
|
||||
|
||||
%description
|
||||
DataStax Driver for Apache Cassandra
|
||||
@ -86,6 +87,9 @@ mv %{buildroot}/doclist.lst .
|
||||
%{_docdir}/*
|
||||
|
||||
%changelog
|
||||
* Tue Feb 11 2025 tzing_t <zhengting13@huawei.com> - 3.29.0-2
|
||||
- Fix build error, increase the upper limit version of cython
|
||||
|
||||
* Wed Jan 10 2024 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 3.29.0-1
|
||||
- Update package to version 3.29.0
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user