• Bug#1064963: dh-python: autopkgtest failure with Python 3.12

    From Graham Inggs@21:1/5 to All on Wed Feb 28 14:50:01 2024
    Source: dh-python
    Version: 6.20231223
    Severity: important
    User: debian-python@lists.debian.org
    Usertags: python3.12

    Hi Maintainer

    dh-python fails its autopkgtest when Python 3.12 is the only supported
    version. I've copied what I hope is the relevant portion of the log
    below.

    Regards
    Graham


    933s make -C tpb07 check
    933s make[1]: Entering directory '/tmp/autopkgtest.eehBP0/autopkgtest_tmp/tests/tpb07'
    933s test -f debian/python3-foo/usr/lib/python3/dist-packages/foo/__init__.py 933s test -f debian/python3-bar/usr/lib/python3/dist-packages/bar/__init__.py 933s test -f debian/python3-foo/usr/bin/foo
    933s test -f debian/python3-bar/usr/bin/bar
    933s test -e foo/tests-executed-foo
    933s test -e .pybuild/cpython3_3.11_bar/build/tests-executed-bar
    933s make[1]: *** [Makefile:10: check] Error 1
    933s make: *** [Makefile:11: testpb07] Error 2
    933s make[1]: Leaving directory '/tmp/autopkgtest.eehBP0/autopkgtest_tmp/tests/tpb07'
    934s autopkgtest [09:32:22]: test pybuild: -----------------------]
    934s pybuild FAIL non-zero exit status 2

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