[Debian-med-packaging] Bug#1063412: virulencefinder fails autopkg tests with Python 3.12

Andreas Tille andreas at an3as.eu
Thu Feb 8 09:46:17 GMT 2024


Control: tags -1 moreinfo

Am Wed, Feb 07, 2024 at 09:13:52PM +0100 schrieb Matthias Klose:
> Package: src:virulencefinder
> Version: 2.0.4-4

I have 

 $ dpkg -l virulencefinder | grep ^ii
 ii  virulencefinder 2.0.4-4      all          identify virulence genes in total or partial sequenced isolates of bacteria

> Severity: important
> Tags: sid trixie ftbfs
> User: debian-python at lists.debian.org
> Usertags: python3.12
> 
> [...]
> 692s autopkgtest [16:44:14]: test run-unit-test: [-----------------------
> 699s Traceback (most recent call last):
> 699s   File "/usr/bin/virulencefinder.py", line 7, in <module>
> 699s     from distutils.spawn import find_executable
> 699s ModuleNotFoundError: No module named 'distutils'

This was fixed in 2.0.4-4 by closing bug #1061856.

$ grep distutils /usr/bin/virulencefinder.py

$ head -n8 /usr/bin/virulencefinder.py
#! /usr/bin/python3
from __future__ import division
from argparse import ArgumentParser
from tabulate import tabulate
from cgecore.blaster import Blaster
from cgecore.cgefinder import CGEFinder
import shutil
import sys

--> Line 7 has shutil and not distutils.spawn.

Seems something is wrong at your side.  Did you by chance used an old
version but used the version number of the latest version in the bug
report?

Kind regards
    Andreas.

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list