• Bug#1061735: bdepstrap ftbfs with Python 3.12 as the default

    From Matthias Klose@21:1/5 to All on Mon Jan 29 12:10:01 2024
    Package: src:bdebstrap
    Version: 0.6.0-1
    Severity: serious
    Tags: sid trixie ftbfs
    User: debian-python@lists.debian.org
    Usertags: python3.12

    With python3-defaults from experimental, the package fails to build:

    [...]
    Test: Run pylint on Python source code. ... Running following command: /usr/bin/python3.12 -m pylint
    --rcfile=/<<PKGBUILDDIR>>/tests/pylint.conf --
    /<<PKGBUILDDIR>>/bdebstrap tests /<<PKGBUILDDIR>>/setup.py
    FAIL
    test_flake8 (tests.test_shellcheck.ShellcheckTestCase.test_flake8)
    Test: Run shellcheck on Shell source code. ... Running following command: shellcheck /<<PKGBUILDDIR>>/hooks/disable-units /<<PKGBUILDDIR>>/hooks/enable-units
    ok

    ======================================================================
    FAIL: test_pylint (tests.test_pylint.PylintTestCase.test_pylint)
    Test: Run pylint on Python source code. ---------------------------------------------------------------------- Traceback (most recent call last):
    File "/<<PKGBUILDDIR>>/tests/test_pylint.py", line 74, in test_pylint
    self.fail("\n".join(msgs))
    AssertionError: pylint found issues:
    ************* Module setup
    /<<PKGBUILDDIR>>/setup.py:26:0: E0401: Unable to import 'distutils.log' (import-error)
    /<<PKGBUILDDIR>>/setup.py:27:0: E0401: Unable to import 'distutils.command.build' (import-error)
    /<<PKGBUILDDIR>>/setup.py:28:0: E0401: Unable to import 'distutils.command.clean' (import-error)
    /<<PKGBUILDDIR>>/setup.py:57:4: C0116: Missing function or method
    docstring (missing-function-docstring)
    /<<PKGBUILDDIR>>/setup.py:54:0: R0903: Too few public methods (1/2) (too-few-public-methods)
    /<<PKGBUILDDIR>>/setup.py:65:4: C0116: Missing function or method
    docstring (missing-function-docstring)
    /<<PKGBUILDDIR>>/setup.py:62:0: R0903: Too few public methods (1/2) (too-few-public-methods)

    ----------------------------------------------------------------------
    Ran 61 tests in 5.767s

    FAILED (failures=1)
    E: pybuild pybuild:391: test: plugin distutils failed with: exit code=1:
    cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; python3.12 -m unittest discover -v -s /<<PKGBUILDDIR>>
    dh_auto_test: error: pybuild --test -i python{version} -p 3.12 returned
    exit code 13

    --- 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:50:01 2024
    This is a multi-part message in MIME format...

    Your message dated Thu, 8 Feb 2024 09:42:20 +1300
    with message-id <CALFf3kcF0NAVTZ4iGB46ruRd-3Og46aNZ_tQv=KjMR_=w=0x6g@mail.gmail.com>
    and subject line Re: bdepstrap ftbfs with Python 3.12 as the default
    has caused the Debian Bug report #1061735,
    regarding bdepstrap ftbfs with Python 3.12 as the default
    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 owner@bugs.debian.org
    immediately.)


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

    Received: (at submit) by bugs.debian.org; 29 Jan 2024 10:58:43 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-12.7 required=4.0 tests=BAYES_00,
    BODY_INCLUDES_PACKAGE,FORGED_SPF_HELO,FOURLA,FROMDEVELOPER,HAS_PACKAGE,
    RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,
    SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 26; hammy, 150; neutral, 91; spammy,
    0. spammytokens: hammytokens:0.000-+--pkgbuilddir,
    0.000-+--PKGBUILDDIR, 0.000-+--H*F:U*doko, 0.000-+--trixie,
    0.000-+--H*RU:sk:einhorn
    Return-path: <doko@debian.org>
    Received: from einhorn.in-berlin.de ([192.109.42.8]:59441 helo=einhorn-mail-out.in-berlin.de)
    by buxtehude.debian