Bug#1056881: qiskit-aer: ftbfs with cython 3.0.x

Sebastiaan Couwenberg sebastic at xs4all.nl
Sun Dec 10 12:45:31 GMT 2023


Control: tags -1 patch

On Sun, 26 Nov 2023 10:06:46 +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 #1056881.

Kind Regards,

Bas

-- 
  GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1
-------------- next part --------------
diff -Nru qiskit-aer-0.4.1/debian/changelog qiskit-aer-0.4.1/debian/changelog
--- qiskit-aer-0.4.1/debian/changelog	2021-05-17 16:19:44.000000000 +0200
+++ qiskit-aer-0.4.1/debian/changelog	2023-12-10 13:35:42.000000000 +0100
@@ -1,3 +1,10 @@
+qiskit-aer (0.4.1-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Switch to cython3-legacy.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Sun, 10 Dec 2023 13:35:42 +0100
+
 qiskit-aer (0.4.1-2) unstable; urgency=medium
 
   * Use scikit-build instead of manual cmake. (Closes: #973791)
diff -Nru qiskit-aer-0.4.1/debian/control qiskit-aer-0.4.1/debian/control
--- qiskit-aer-0.4.1/debian/control	2021-05-17 15:47:36.000000000 +0200
+++ qiskit-aer-0.4.1/debian/control	2023-12-10 13:35:42.000000000 +0100
@@ -6,7 +6,7 @@
            Diego M. Rodriguez <diego at moreda.io>
 Build-Depends: debhelper-compat (= 13),
                cmake,
-               cython3,
+               cython3-legacy,
                dh-python,
                libmuparserx-dev,
                libopenblas-dev,


More information about the debian-science-maintainers mailing list