Discussion:
Bug#1083070: bmtk: tests fail: No module named 'distutils'
Add Reply
Drew Parsons
2024-09-30 22:20:01 UTC
Reply
Permalink
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
Debian Bug Tracking System
2024-09-30 22:20:01 UTC
Reply
Permalink
Post by Drew Parsons
affects -1 src:mpi4py
Bug #1083070 [src:bmtk] bmtk: tests fail: No module named 'distutils'
Added indication that 1083070 affects src:mpi4py
--
1083070: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1083070
Debian Bug Tracking System
Contact ***@bugs.debian.org with problems
Debian Bug Tracking System
2024-10-16 17:40:01 UTC
Reply
Permalink
tags -1 patch pending
Bug #1083070 [src:bmtk] bmtk: tests fail: No module named 'distutils'
Added tag(s) patch and pending.
forwarded -1 https://github.com/AllenInstitute/bmtk/pull/385
Bug #1083070 [src:bmtk] bmtk: tests fail: No module named 'distutils'
Set Bug forwarded-to-address to 'https://github.com/AllenInstitute/bmtk/pull/385'.
block -1 by 1085151
Bug #1083070 [src:bmtk] bmtk: tests fail: No module named 'distutils'
1083070 was not blocked by any bugs.
1083070 was not blocking any bugs.
Added blocking bug(s) of 1083070: 1085151
--
1083070: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1083070
Debian Bug Tracking System
Contact ***@bugs.debian.org with problems
Étienne Mollier
2024-10-16 17:40:01 UTC
Reply
Permalink
Control: tags -1 patch pending
Control: forwarded -1 https://github.com/AllenInstitute/bmtk/pull/385
Control: block -1 by 1085151

Hi,
Post by Drew Parsons
bmtk has started failing debci tests, due to a requirement for
distutils which is no longer packaged for debian
I have an upload pending in Salsa which I verified fixed the
issue in testing. Said upload blocked because of the following
openmpi-common installability issue in sid, which I believe is a
fallout of #1085151:

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
openmpi-bin : Depends: openmpi-common (>= 5.0.5-2) but it is not installable
E: Unable to correct problems, you have held broken packages.
apt-get failed.
E: Package installation failed

The package should be in good shape for upload once openmpi is
back on tracks

Have a nice day, :)
--
.''`. Étienne Mollier <***@debian.org>
: :' : pgp: 8f91 b227 c7d6 f2b1 948c 8236 793c f67e 8f0d 11da
`. `' sent from /dev/pts/2, please excuse my verbosity
`- on air: Frost* - Black Light Machine
Debian Bug Tracking System
2024-10-17 22:00:01 UTC
Reply
Permalink
Your message dated Thu, 17 Oct 2024 21:49:22 +0000
with message-id <E1t1YN0-003NJ8-***@fasolo.debian.org>
and subject line Bug#1083070: fixed in bmtk 1.1.1+ds-2
has caused the Debian Bug report #1083070,
regarding bmtk: tests fail: No module named 'distutils'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ***@bugs.debian.org
immediately.)
--
1083070: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1083070
Debian Bug Tracking System
Contact ***@bugs.debian.org with problems
Loading...