Bug#1056891: statsmodels: ftbfs with cython 3.0.x

Sebastiaan Couwenberg sebastic at xs4all.nl
Sun Dec 10 16:34:05 GMT 2023


Control: tags -1 patch

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

Kind Regards,

Bas

-- 
  GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1
-------------- next part --------------
diff -Nru statsmodels-0.14.0+dfsg/debian/changelog statsmodels-0.14.0+dfsg/debian/changelog
--- statsmodels-0.14.0+dfsg/debian/changelog	2023-11-11 21:34:28.000000000 +0100
+++ statsmodels-0.14.0+dfsg/debian/changelog	2023-12-10 16:14:11.000000000 +0100
@@ -1,3 +1,10 @@
+statsmodels (0.14.0+dfsg-5.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Switch to cython3-legacy.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Sun, 10 Dec 2023 16:14:11 +0100
+
 statsmodels (0.14.0+dfsg-5) unstable; urgency=medium
 
   * Allow building with Cython 3.0 (Closes: LP: #2043284) and cp 9.2.
diff -Nru statsmodels-0.14.0+dfsg/debian/control statsmodels-0.14.0+dfsg/debian/control
--- statsmodels-0.14.0+dfsg/debian/control	2023-08-19 22:57:43.000000000 +0200
+++ statsmodels-0.14.0+dfsg/debian/control	2023-12-10 16:14:11.000000000 +0100
@@ -9,7 +9,7 @@
 Build-Depends: debhelper-compat (= 13),
                sphinx-common,
                dh-python (>= 3.20180313~),
-               cython3 (>= 0.29.32~),
+               cython3-legacy (>= 0.29.32~),
 # tries to build twice (arch/indep), which fails               pybuild-plugin-pyproject,
                python3-all-dev,
                python3-colorama <!nocheck> <!nodoc>,


More information about the debian-science-maintainers mailing list