Bug#1056787: astra-toolbox: ftbfs with cython 3.0.x

Sebastiaan Couwenberg sebastic at xs4all.nl
Sat Dec 9 17:15:39 GMT 2023


Control: tags -1 patch

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

It also updates the octave-dev build dependency to make them installable.

The build still fails for another reason:

  TEST FAILED: 
../debian/python3-astra-toolbox/usr/local/lib/python3.11/dist-packages/ 
does NOT support .pth files
  bad install directory or PYTHONPATH

Kind Regards,

Bas

-- 
  GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1
-------------- next part --------------
diff -Nru astra-toolbox-2.1.0/debian/changelog astra-toolbox-2.1.0/debian/changelog
--- astra-toolbox-2.1.0/debian/changelog	2023-06-20 17:36:46.000000000 +0200
+++ astra-toolbox-2.1.0/debian/changelog	2023-12-09 17:54:17.000000000 +0100
@@ -1,3 +1,11 @@
+astra-toolbox (2.1.0-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Switch to cython3-legacy.
+  * Change liboctave-dev to octave-dev.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Sat, 09 Dec 2023 17:54:17 +0100
+
 astra-toolbox (2.1.0-3) unstable; urgency=medium
 
   * Team upload
diff -Nru astra-toolbox-2.1.0/debian/control astra-toolbox-2.1.0/debian/control
--- astra-toolbox-2.1.0/debian/control	2023-06-20 17:36:28.000000000 +0200
+++ astra-toolbox-2.1.0/debian/control	2023-12-09 17:54:17.000000000 +0100
@@ -11,11 +11,11 @@
  nvidia-cuda-toolkit-gcc,
  clang,
  python3-dev,
- cython3,
+ cython3-legacy,
  python3-numpy,
  python3-six,
  python3-scipy,
- liboctave-dev,
+ octave-dev,
  dh-python,
 Standards-Version: 4.6.0
 Homepage: https://github.com/astra-toolbox/astra-toolbox


More information about the debian-science-maintainers mailing list