[Debian-astro-maintainers] Bug#1030025: yt: misses versioned dependencies on numpy

Graham Inggs ginggs at debian.org
Mon Jan 30 13:14:07 GMT 2023


Source: yt
Version: 4.1.4-1
Severity: serious
Tags: patch

Hi Maintainer

python3-yt has a hard-coded dependency on numpy-abi-9 and misses a
versioned dependency on python3-numpy.

The patch below should ensure these are automatically added correctly.

Regards
Graham

--- a/debian/control
+++ b/debian/control
@@ -41,7 +42,6 @@
          python3-h5py,
          python3-matplotlib,
          python3-numpy,
-         python3-numpy-abi9,
          python3-sympy,
          libjs-leaflet,
          libjs-jquery
--- a/debian/rules
+++ b/debian/rules
@@ -10,7 +10,7 @@


 %:
-    dh $@ --with python3 --buildsystem=pybuild
+    dh $@ --with python3,numpy3 --buildsystem=pybuild

 # temporary fix for autopkgtest failures
 # ref: https://github.com/yt-project/yt/pull/4191



More information about the Debian-astro-maintainers mailing list