]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
spec: fix cython package version to less than 0.29 25328/head
authorRicardo Dias <rdias@suse.com>
Thu, 29 Nov 2018 11:47:34 +0000 (11:47 +0000)
committerRicardo Dias <rdias@suse.com>
Thu, 29 Nov 2018 15:31:16 +0000 (15:31 +0000)
Cython version 0.29 removed the support for python subinterpreters,
which completely breaks ceph-mgr funcionality.

See cython repo commit:
https://github.com/cython/cython/commit/7e27c7cd51a2f048cd6d3c246740cd977f8d2e50

Fixes: http://tracker.ceph.com/issues/37472
Signed-off-by: Ricardo Dias <rdias@suse.com>
ceph.spec.in
debian/control

index 200dfa34b64069a6cff50f9a99c59157291dee94..c4ad3496c65c9e4b194c10b1bae8c8d5898ca648 100644 (file)
@@ -230,7 +230,7 @@ BuildRequires:  lsb-release
 BuildRequires:  openldap2-devel
 BuildRequires:  cunit-devel
 BuildRequires: python%{_python_buildid}-base
-BuildRequires: python%{_python_buildid}-Cython
+BuildRequires: python%{_python_buildid}-Cython < 0.29
 BuildRequires: python%{_python_buildid}-PrettyTable
 BuildRequires: python%{_python_buildid}-Sphinx
 BuildRequires:  rdma-core-devel
@@ -248,7 +248,7 @@ BuildRequires:  openldap-devel
 BuildRequires:  openssl-devel
 BuildRequires:  CUnit-devel
 BuildRequires:  redhat-lsb-core
-BuildRequires: Cython
+BuildRequires: Cython < 0.29
 BuildRequires: python%{_python_buildid}-prettytable
 BuildRequires: python%{_python_buildid}-sphinx
 BuildRequires: lz4-devel >= 1.7
@@ -257,11 +257,11 @@ BuildRequires:    lz4-devel >= 1.7
 %if 0%{?rhel}
 BuildRequires: python34-devel
 BuildRequires: python34-setuptools
-BuildRequires: python34-Cython
+BuildRequires: python34-Cython < 0.29
 %else
 BuildRequires: python3-devel
 BuildRequires: python3-setuptools
-BuildRequires: python3-Cython
+BuildRequires: python3-Cython < 0.29
 %endif
 # distro-conditional make check dependencies
 %if 0%{with make_check}
index 677c8f907ee755e5d9885e8240ecee50315fa59c..570fe0a1413df812c21c753c21595a7f797fd698 100644 (file)
@@ -12,8 +12,8 @@ Build-Depends: bc,
                cmake (>= 3.5),
                cpio,
                cryptsetup-bin | cryptsetup,
-               cython,
-               cython3,
+               cython (< 0.29),
+               cython3 (< 0.29),
                debhelper (>= 9),
                default-jdk,
                dh-exec,