Package: src:pybdsf
Version: 1.10.3-2
Severity: serious
Tags: sid trixie ftbfs
User: debian-pyt...@lists.debian.org
Usertags: python3.12
Forwarded: https://github.com/lofar-astron/PyBDSF/issues/214

pybdsf fails to build with Python 3.12 as default, also the autopkg test fails with:

290s autopkgtest [09:33:17]: test command1: [-----------------------
292s WARNING: Matplotlib pyplot could not be imported. Plotting is disabled.
293s --> Loaded parameters from file 'tbdsf_process_image.in'.
293s Traceback (most recent call last):
293s File "/tmp/autopkgtest.Z7dzWY/build.NDT/src/test/tbdsf_process_image.py", line 5, in <module>
293s     img = bdsf.process_image('tbdsf_process_image.in', ncores=2)
293s           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
293s File "/usr/lib/python3/dist-packages/bdsf/__init__.py", line 256, in process_image
293s     img.process(**kwargs)
293s File "/usr/lib/python3/dist-packages/bdsf/image.py", line 136, in process
293s     success = interface.process(self, **kwargs)
293s               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
293s File "/usr/lib/python3/dist-packages/bdsf/interface.py", line 66, in process
293s     _run_op_list(img, op_chain)
293s File "/usr/lib/python3/dist-packages/bdsf/__init__.py", line 155, in _run_op_list
293s     op(img)
293s File "/usr/lib/python3/dist-packages/bdsf/readimage.py", line 68, in __call__
293s     result = read_image_from_file(image_file, img, img.indir)
293s              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
293s File "/usr/lib/python3/dist-packages/bdsf/functions.py", line 1079, in read_image_from_file
293s     from distutils.version import StrictVersion
293s ModuleNotFoundError: No module named 'distutils'
294s autopkgtest [09:33:21]: test command1: -----------------------]
297s command1             FAIL non-zero exit status 1

Reply via email to