• Re: dh_auto_configure: error: unable to load build system class 'python

    From Stefano Rivera@21:1/5 to All on Wed Dec 18 01:00:02 2024
    Hi Santiago (2024.12.17_23:46:03_+0000)

    If you were still relying on python_distutils, you were doing something horribly wrong. It has never supported Python 3.

    You want to use pybuild instead.

    Normally this kind of thing is announced in advance
    and bugs are filed in advance, but I don't see anything
    in this case.

    It was obviously assumed that nobody still depended on this.

    Also: It must be something recent because I did an archive
    rebuild of sid three days ago and this still did not happen.

    Could it be related to #1090343 ?

    The relevant bug is https://bugs.debian.org/1089715

    Stefano

    --
    Stefano Rivera
    http://tumbleweed.org.za/
    +1 415 683 3272

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Santiago Vila@21:1/5 to All on Wed Dec 18 01:10:01 2024
    Thanks a lot for your quick reply.

    If you were still relying on python_distutils, you were doing something
    horribly wrong.

    Not really me. Asking for a friend :-)

    El 18/12/24 a las 0:55, Stefano Rivera escribió:
    It was obviously assumed that nobody still depended on this.

    Ok, I guess we should report those asap.

    Can you give me a list of packages potentially broken
    by this, so that I can rebuild them and report them
    if they now fail?

    Thanks.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Santiago Vila@21:1/5 to All on Wed Dec 18 01:20:01 2024
    Can you give me a list of packages potentially broken
    by this

    Would

    grep buildsystem=python_distutils

    on the (previous) build logs be a good start?

    Thanks.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Santiago Vila@21:1/5 to All on Wed Dec 18 02:40:06 2024
    Hi. I found 316 affected packages, which I reported here:

    https://bugs.debian.org/cgi-bin/pkgreport.cgi?users=debian-qa@lists.debian.org;tag=python-distutils

    I'm using a tag so that the bug numbers are easy to get, just in case you people
    want to reconsider if adding 316 RC bugs in a day (not reported before with severity:important) is really a good idea.

    Thanks.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andrey Rakhmatullin@21:1/5 to Stefano Rivera on Wed Dec 18 09:30:01 2024
    On Tue, Dec 17, 2024 at 11:55:48PM +0000, Stefano Rivera wrote:
    Hi Santiago (2024.12.17_23:46:03_+0000)

    If you were still relying on python_distutils, you were doing something horribly wrong. It has never supported Python 3.

    You want to use pybuild instead.

    Normally this kind of thing is announced in advance
    and bugs are filed in advance, but I don't see anything
    in this case.

    It was obviously assumed that nobody still depended on this.

    Also: It must be something recent because I did an archive
    rebuild of sid three days ago and this still did not happen.

    Could it be related to #1090343 ?

    The relevant bug is https://bugs.debian.org/1089715

    Apparently the answer to "it's been totally non-functional since Python 2
    was removed from unstable/testing in 2022: it starts by trying to run pyversions, which no longer exists" is "everything that uses it is skipped
    via overrides":

    https://tracker.debian.org/media/packages/p/python-extras/rules-1.0.0-5 https://tracker.debian.org/media/packages/p/python-designateclient/rules-6.1.0-2
    https://tracker.debian.org/media/packages/o/ovn-bgp-agent/rules-3.0.0-1

    etc.

    --
    WBR, wRAR

    -----BEGIN PGP SIGNATURE-----

    iQJhBAABCgBLFiEEolIP6gqGcKZh3YxVM2L3AxpJkuEFAmdihl0tFIAAAAAAFQAP cGthLWFkZHJlc3NAZ251cGcub3Jnd3JhckBkZWJpYW4ub3JnAAoJEDNi9wMaSZLh t0oP/igmVWSpa1LMLaLOO4CmVXRnZqmQAn4A2devBjn9bXisTIqFjEKWJtrMVFzi 8InltyOAF39mTBt3V9UHg+ZHktga84/oiTUgKPsNZak/UZlPhEL0b08pER6Bb8+1 ry1IWU4GYyYMj7f8BnjVyxbv9RaMd//3g/rOd0X8HHiUaGfZIkPOWHKgdgNsq9KN o/qBO5VAY1br3zisFuLfkfe5ODrE9PThOzb966AOta+zfY7EVEDFrScKGncxwpPE zyh2F5sh+MFCsRFix0tJWSntEDp6k/JobeXrGayR9/PS5xhIOOVEOy0z2MS1hqfh Aenvoq8OBYe6u4hbahavbMaZLdmNa5yGlyHDwYKm764WKV99iP+Isxzjksw8DIkE O8Hq3W974K9C1HVlrxB3tAoa56Khp7NK7snYI2IEp56Y8P7ZWDsce8zjW7lB8dLl 0qTFu93bJLgsE1KFqtwzZPMWp2wNopx239TIYNZhl/zj/m/Iup3LkwIorI/MC/aD At5NiHKnJsyrHJU970n/wOqLh/MR6lukXBWowIw7SN7Ogjqw/ocvgaGeU77biic8 s2eWb4ZBRiiJCxvgjWnfmuhVa9fLkp4t6EeFv99oPsdst/Ndx0LDJIGcRyO0UizQ nRVhYpDC5lvEdwbSFW2hr0y5l2xvm6UxJhuJmBZElJGbfDw0
    =2fwI
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Louis-Philippe_V=C3=A9ron@21:1/5 to Santiago Vila on Wed Dec 18 18:50:01 2024
    On 2024-12-17 8 h 35 p.m., Santiago Vila wrote:
    Hi. I found 316 affected packages, which I reported here:

    https://bugs.debian.org/cgi-bin/pkgreport.cgi?users=debian- qa@lists.debian.org;tag=python-distutils

    I'm using a tag so that the bug numbers are easy to get, just in case
    you people
    want to reconsider if adding 316 RC bugs in a day (not reported before with severity:important) is really a good idea.

    Thanks.

    FWIW, this lintian tag also flags the use of the distutils library
    (amongst other deprecated stdlibs):

    https://udd.debian.org/lintian-tag/uses-deprecated-python-stdlib?affected=yes

    --
    ⢀⣴⠾⠻⢶⣦⠀
    ⣾⠁⢠⠒⠀⣿⡁ Louis-Philippe Véronneau
    ⢿⡄⠘⠷⠚⠋ pollo@debian.org / veronneau.org
    ⠈⠳⣄

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