[Debian-med-packaging] Bug#1083070: bmtk: tests fail: No module named 'distutils'
Drew Parsons
dparsons at debian.org
Mon Sep 30 23:15:46 BST 2024
Source: bmtk
Version: 1.1.1+ds-1
Severity: serious
Justification: debci
Control: affects -1 src:mpi4py
bmtk has started failing debci tests, due to a requirement for
distutils which is no longer packaged for debian
70s Processing triggers for libc-bin (2.40-3) ...
70s autopkgtest [13:09:51]: test run-unit-test: [-----------------------
71s ============================= test session starts ==============================
71s platform linux -- Python 3.12.6, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python3.12
71s cachedir: .pytest_cache
71s rootdir: /tmp/autopkgtest-lxc.l2untem6/downtmp/autopkgtest_tmp
71s plugins: typeguard-4.3.0
75s collecting ... collected 360 items / 1 error / 5 skipped
75s
75s ==================================== ERRORS ====================================
75s _____ ERROR collecting tests/simulator/filternet/test_filternet_movies.py ______
75s ImportError while importing test module '/tmp/autopkgtest-lxc.l2untem6/downtmp/autopkgtest_tmp/tests/simulator/filternet/test_filternet_movies.py'.
75s Hint: make sure your test modules/packages have valid Python names.
75s Traceback:
75s /usr/lib/python3.12/importlib/__init__.py:90: in import_module
75s return _bootstrap._gcd_import(name[level:], package, level)
75s tests/simulator/filternet/test_filternet_movies.py:5: in <module>
75s from bmtk.utils.sim_setup import build_env_filternet
75s /usr/lib/python3/dist-packages/bmtk/utils/sim_setup.py:32: in <module>
75s from distutils.dir_util import copy_tree
75s E ModuleNotFoundError: No module named 'distutils'
This blocks migration of other packages which bmtk depends on.
-- System Information:
Debian Release: trixie/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.10.11-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
More information about the Debian-med-packaging
mailing list