• Bug#1063407: pybdsf fails to build with Python 3.12 as default

    From Matthias Klose@21:1/5 to All on Wed Feb 7 18:50:01 2024
    Package: src:pybdsf
    Version: 1.10.3-2
    Severity: serious
    Tags: sid trixie ftbfs
    User: debian-python@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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Wed Feb 7 21:40:01 2024
    Processing control commands:

    forwarded -1 https://github.com/lofar-astron/PyBDSF/issues/214
    Bug #1063407 [src:pybdsf] pybdsf fails to build with Python 3.12 as default Ignoring request to change the forwarded-to-address of bug#1063407 to the same value

    --
    1063407: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1063407
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)