Bug#1056878: qiskit-terra: ftbfs with cython 3.0.x

Sebastiaan Couwenberg sebastic at xs4all.nl
Sun Dec 10 12:51:58 GMT 2023


Control: tags -1 patch

On Sun, 26 Nov 2023 10:06:47 +0000 Matthias Klose wrote:
> If the package cannot be built with cython 3.0.5, please change the
> build dependency from cython3 to cython3-legacy (available now in
> unstable).  There is no replacement for cython3-dbg.

The attached patch switches to cython3-legacy as the short term workaround.

The package still fails to build due to #1027203.

Kind Regards,

Bas

-- 
  GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1
-------------- next part --------------
diff -Nru qiskit-terra-0.12.0/debian/changelog qiskit-terra-0.12.0/debian/changelog
--- qiskit-terra-0.12.0/debian/changelog	2022-03-12 23:23:22.000000000 +0100
+++ qiskit-terra-0.12.0/debian/changelog	2023-12-10 13:45:38.000000000 +0100
@@ -1,3 +1,10 @@
+qiskit-terra (0.12.0-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Switch to cython3-legacy.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Sun, 10 Dec 2023 13:45:38 +0100
+
 qiskit-terra (0.12.0-4) unstable; urgency=medium
 
   * Team Upload.
diff -Nru qiskit-terra-0.12.0/debian/control qiskit-terra-0.12.0/debian/control
--- qiskit-terra-0.12.0/debian/control	2022-03-12 23:23:18.000000000 +0100
+++ qiskit-terra-0.12.0/debian/control	2023-12-10 13:45:37.000000000 +0100
@@ -5,7 +5,7 @@
            Diego M. Rodriguez <diego at moreda.io>
 Section: science
 Priority: optional
-Build-Depends: cython3 (>= 0.27.1),
+Build-Depends: cython3-legacy (>= 0.27.1),
                debhelper-compat (= 13),
                dh-python,
                python3-all,


More information about the debian-science-maintainers mailing list