• Bug#1067386: anymarkup-core: FTBFS: dh_auto_test: error: pybuild --test

    From Lucas Nussbaum@21:1/5 to All on Wed Mar 20 22:20:16 2024
    Source: anymarkup-core
    Version: 0.8.1-3
    Severity: serious
    Justification: FTBFS
    Tags: trixie sid ftbfs
    User: lucas@debian.org
    Usertags: ftbfs-20240319 ftbfs-trixie

    Hi,

    During a rebuild of all packages in sid, your package failed to build
    on amd64.


    Relevant part (hopefully):
    debian/rules build
    dh build --with python3 --buildsystem=pybuild
    dh_update_autotools_config -O--buildsystem=pybuild
    dh_autoreconf -O--buildsystem=pybuild
    dh_auto_configure -O--buildsystem=pybuild
    I: pybuild base:305: python3.12 setup.py config
    running config
    I: pybuild base:305: python3.11 setup.py config
    running config
    dh_auto_build -O--buildsystem=pybuild
    I: pybuild base:305: /usr/bin/python3.12 setup.py build
    running build
    running build_py
    creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_anymarkup-core/build/anymarkup_core
    copying anymarkup_core/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_anymarkup-core/build/anymarkup_core
    I: pybuild base:305: /usr/bin/python3 setup.py build
    running build
    running build_py
    creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_anymarkup-core/build/anymarkup_core
    copying anymarkup_core/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_anymarkup-core/build/anymarkup_core
    dh_auto_test -O--buildsystem=pybuild
    I: pybuild base:305: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_anymarkup-core/build; python3.12 -m pytest test
    ============================= test session starts ==============================
    platform linux -- Python 3.12.2, pytest-8.1.1, pluggy-1.4.0
    rootdir: /<<PKGBUILDDIR>>
    collected 83 items / 1 error

    ==================================== ERRORS ====================================
    _ ERROR collecting .pybuild/cpython3_3.12_anymarkup-core/build/test/test_libs_not_installed.py _
    test/test_libs_not_installed.py:1: in <module>
    from flexmock import flexmock /usr/lib/python3/dist-packages/flexmock/__init__.py:2: in <module>
    from flexmock import _integrations # pylint: disable=unused-import /usr/lib/python3/dist-packages/flexmock/_integrations.py:101: in <module>
    saved_pytest = runner.call_runtest_hook
    E AttributeError: module '_pytest.runner' has no attribute 'call_runtest_hook'
    =========================== short test summary info ============================
    ERROR test/test_libs_not_installed.py - AttributeError: module '_pytest.runne...
    !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
    =============================== 1 error in 0.21s ===============================
    E: pybuild pybuild:389: test: plugin distutils failed with: exit code=2: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_anymarkup-core/build; python3.12 -m pytest test
    I: pybuild base:305: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_anymarkup-core/build; python3.11 -m pytest test
    ============================= test session starts ==============================
    platform linux -- Python 3.11.8, pytest-8.1.1, pluggy-1.4.0
    rootdir: /<<PKGBUILDDIR>>
    collected 83 items / 1 error

    ==================================== ERRORS ====================================
    _ ERROR collecting .pybuild/cpython3_3.11_anymarkup-core/build/test/test_libs_not_installed.py _
    test/test_libs_not_installed.py:1: in <module>
    from flexmock import flexmock /usr/lib/python3/dist-packages/flexmock/__init__.py:2: in <module>
    from flexmock import _integrations # pylint: disable=unused-import /usr/lib/python3/dist-packages/flexmock/_integrations.py:101: in <module>
    saved_pytest = runner.call_runtest_hook
    E AttributeError: module '_pytest.runner' has no attribute 'call_runtest_hook'
    =========================== short test summary info ============================
    ERROR test/test_libs_not_installed.py - AttributeError: module '_pytest.runne...
    !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
    =============================== 1 error in 0.23s ===============================
    E: pybuild pybuild:389: test: plugin distutils failed with: exit code=2: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_anymarkup-core/build; python3.11 -m pytest test
    dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" returned exit code 13


    The full build log is available from: http://qa-logs.debian.net/2024/03/19/anymarkup-core_0.8.1-3_unstable.log

    All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240319;users=lucas@debian.org
    or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240319&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

    A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

    If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects

    If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Thu Mar 21 13:10:02 2024
    Processing control commands:

    reassign -1 src:python-flexmock
    Bug #1067386 [src:anymarkup-core] anymarkup-core: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" returned exit code 13
    Bug reassigned from package 'src:anymarkup-core' to 'src:python-flexmock'.
    No longer marked as found in versions anymarkup-core/0.8.1-3.
    Ignoring request to alter fixed versions of bug #1067386 to the same values previously set
    merge -1 1067358
    Bug #1067386 [src:python-flexmock] anymarkup-core: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" returned exit code 13
    Bug #1067386 [src:python-flexmock] anymarkup-core: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" returned exit code 13
    Marked as found in versions python-flexmock/0.11.3-3.
    Bug #1067358 [src:python-flexmock] python-flexmock: FTBFS: AttributeError: module '_pytest.runner' has no attribute 'call_runtest_hook'
    Merged 1067358 1067386

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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Sun Mar 24 22:30:02 2024
    This is a multi-part message in MIME format...

    Your message dated Sun, 24 Mar 2024 21:19:43 +0000
    with message-id <E1roVFn-00A4wH-2j@fasolo.debian.org>
    and subject line Bug#1067358: fixed in python-flexmock 0.12.0-1
    has caused the Debian Bug report #1067358,
    regarding anymarkup-core: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" returned exit code 13
    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.)


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

    Received: (at submit) by bugs.debian.org; 20 Mar 2024 21:06:45 +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=-105.6 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
    DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,
    SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,
    USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST autolearn=ham
    autolearn_force=no version=3.4.6-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 11; hammy, 150; neutral, 178; spammy,
    0. spammytokens: hammytokens:0.000-+--python3,
    0.000-+--Hx-spam-relays-external:sk:stravin, 0.000-+--H*RT:sk:stravin,
    0.000-+--Hx-spam-relays-external:311, 0.000-+--H*RT:311
    Return-path: <lucas@debian.org>
    Received: from stravinsky.debian.org ([2001:41b8:202: