hi again, On Tue, Mar 26, 2024 at 02:31:41AM +0100, Michael Ablassmeier wrote: > On Mon, Mar 25, 2024 at 11:28:33PM +0100, Matthias Klose wrote: > > Don't hard-code the python version in d/control, it will fail with 3.12 > > > > patch at > > http://launchpadlibrarian.net/721153415/virtnbdbackup_2.0-1build1_2.0-1ubuntu1.diff.gz > > thanks, but not hardcoding the python version makes build fail in dh_auto_test > for me (using git-builpackage and debspawn as builder). For some reason yet > unclear to me dh_auto_test attempts to run some made up testcases ..
dh_auto_test fails to test the module load because it seems python3-libnbd required for virtnbdbackup is only available for python 3.11 yet: Package: python3-libnbd Depends: python3 (<< 3.12), python3 (>= 3.11~) > root@radiohead-unstable-buildd-amd64-la1a:/srv# python3.12 > Python 3.12.2 (main, Mar 24 2024, 15:58:54) [GCC 13.2.0] on linux > Type "help", "copyright", "credits" or "license" for more information. > >>> import nbd > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "/usr/lib/python3/dist-packages/nbd.py", line 34, in <module> > import libnbdmod > ModuleNotFoundError: No module named 'libnbdmod' > bye, - michael