Bug#1056888: scipy: ftbfs with cython 3.0.x

2023-12-17 Thread Drew Parsons
Source: scipy
Followup-For: Bug #1056888

Using cython3-legacy sounds like a reasonable workaround.

I presume the latest version of scipy has been updated to use cython 3,
but we won't know until
https://salsa.debian.org/salsa/support/-/issues/360
is dealt with.
cf. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1042459



Bug#1056888: scipy: ftbfs with cython 3.0.x

2023-12-10 Thread Sebastiaan Couwenberg

Control: tags -1 patch

On Sun, 26 Nov 2023 10:06:54 + 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 4AF1diff -Nru scipy-1.10.1/debian/changelog scipy-1.10.1/debian/changelog
--- scipy-1.10.1/debian/changelog   2023-12-05 14:22:12.0 +0100
+++ scipy-1.10.1/debian/changelog   2023-12-10 14:40:38.0 +0100
@@ -1,3 +1,10 @@
+scipy (1.10.1-6.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Switch to cython3-legacy.
+
+ -- Bas Couwenberg   Sun, 10 Dec 2023 14:40:38 +0100
+
 scipy (1.10.1-6) unstable; urgency=medium
 
   * Team upload
diff -Nru scipy-1.10.1/debian/control scipy-1.10.1/debian/control
--- scipy-1.10.1/debian/control 2023-10-27 11:24:17.0 +0200
+++ scipy-1.10.1/debian/control 2023-12-10 14:40:38.0 +0100
@@ -5,8 +5,8 @@
Varun Hiremath 
 Section: python
 Priority: optional
-Build-Depends: cython3 (>= 0.29.21~),
-   cython3 (<< 3.0),
+Build-Depends: cython3-legacy (>= 0.29.21~),
+   cython3-legacy (<< 3.0),
debhelper-compat (= 13),
dh-sequence-python3,
pybuild-plugin-pyproject,