• Bug#1060987: q2cli: FTBFS: dh_auto_test: error: pybuild --test --test-p

    From Lucas Nussbaum@21:1/5 to All on Tue Jan 16 21:00:13 2024
    Source: q2cli
    Version: 2022.11.1-2
    Severity: serious
    Justification: FTBFS
    Tags: trixie sid ftbfs
    User: lucas@debian.org
    Usertags: ftbfs-20240115 ftbfs-trixie

    Hi,

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


    Relevant part (hopefully):
    debian/rules binary
    dh binary --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.11 setup.py config
    running config
    dh_auto_build -O--buildsystem=pybuild
    I: pybuild base:305: /usr/bin/python3 setup.py build
    running build
    running build_py
    creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/q2cli
    copying q2cli/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/q2cli
    copying q2cli/_version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/q2cli
    copying q2cli/__main__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/q2cli
    copying q2cli/commands.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/q2cli
    copying q2cli/util.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/q2cli creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/q2cli/tests
    copying q2cli/tests/test_mystery_stew.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/q2cli/tests
    copying q2cli/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/q2cli/tests
    copying q2cli/tests/test_cache_cli.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/q2cli/tests
    copying q2cli/tests/test_dev.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/q2cli/tests
    copying q2cli/tests/test_cli.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/q2cli/tests
    copying q2cli/tests/test_core.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/q2cli/tests
    copying q2cli/tests/test_usage.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/q2cli/tests
    copying q2cli/tests/test_tools.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/q2cli/tests
    creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/q2cli/core
    copying q2cli/core/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/q2cli/core
    copying q2cli/core/completion.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/q2cli/core
    copying q2cli/core/state.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/q2cli/core
    copying q2cli/core/usage.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/q2cli/core
    copying q2cli/core/config.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/q2cli/core
    copying q2cli/core/cache.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/q2cli/core
    creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/q2cli/builtin
    copying q2cli/builtin/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/q2cli/builtin
    copying q2cli/builtin/tools.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/q2cli/builtin
    copying q2cli/builtin/dev.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/q2cli/builtin
    copying q2cli/builtin/info.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/q2cli/builtin
    creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/q2cli/click
    copying q2cli/click/type.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/q2cli/click
    copying q2cli/click/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/q2cli/click
    copying q2cli/click/parser.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/q2cli/click
    copying q2cli/click/command.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/q2cli/click
    copying q2cli/click/option.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/q2cli/click
    running egg_info
    creating q2cli.egg-info
    writing q2cli.egg-info/PKG-INFO
    writing dependency_links to q2cli.egg-info/dependency_links.txt
    writing entry points to q2cli.egg-info/entry_points.txt
    writing top-level names to q2cli.egg-info/top_level.txt
    writing manifest file 'q2cli.egg-info/SOURCES.txt'
    reading manifest file 'q2cli.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    adding license file 'LICENSE'
    writing manifest file 'q2cli.egg-info/SOURCES.txt'
    UPDATING /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/q2cli/_version.py
    set /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/q2cli/_version.py to '2022.11.1'
    running build_scripts
    creating build
    creating build/scripts-3.11
    copying bin/tab-qiime -> build/scripts-3.11
    changing mode of build/scripts-3.11/tab-qiime from 644 to 755
    dh_auto_test -O--buildsystem=pybuild
    I: pybuild base:305: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build; python3.11 -m pytest --ignore=q2cli/tests/test_usage.py
    ============================= test session starts ==============================
    platform linux -- Python 3.11.7, pytest-7.4.4, pluggy-1.3.0
    rootdir: /<<PKGBUILDDIR>>
    collected 0 items / 6 errors

    ==================================== ERRORS ====================================
    _ ERROR collecting .pybuild/cpython3_3.11/build/q2cli/tests/test_cache_cli.py __
    q2cli/tests/test_cache_cli.py:15: in <module>
    from qiime2 import Artifact /usr/lib/python3/dist-packages/qiime2/__init__.py:23: in <module>
    __citations__ = tuple(Citations.load('citations.bib', package='qiime2')) /usr/lib/python3/dist-packages/qiime2/core/cite.py:26: in load
    parser = bp.bparser.BibTexParser()
    E AttributeError: module 'bibtexparser' has no attribute 'bparser'
    ____ ERROR collecting .pybuild/cpython3_3.11/build/q2cli/tests/test_cli.py _____
    q2cli/tests/test_cli.py:18: in <module>
    from qiime2 import Artifact, Visualization /usr/lib/python3/dist-packages/qiime2/__init__.py:23: in <module>
    __citations__ = tuple(Citations.load('citations.bib', package='qiime2')) /usr/lib/python3/dist-packages/qiime2/core/cite.py:26: in load
    parser = bp.bparser.BibTexParser()
    E AttributeError: module 'bibtexparser' has no attribute 'bparser'
    ____ ERROR collecting .pybuild/cpython3_3.11/build/q2cli/tests/test_core.py ____
    q2cli/tests/test_core.py:16: in <module>
    from qiime2 import Artifact /usr/lib/python3/dist-packages/qiime2/__init__.py:23: in <module>
    __citations__ = tuple(Citations.load('citations.bib', package='qiime2')) /usr/lib/python3/dist-packages/qiime2/core/cite.py:26: in load
    parser = bp.bparser.BibTexParser()
    E AttributeError: module 'bibtexparser' has no attribute 'bparser'
    ____ ERROR collecting .pybuild/cpython3_3.11/build/q2cli/tests/test_dev.py _____
    q2cli/tests/test_dev.py:16: in <module>
    from qiime2 import Artifact /usr/lib/python3/dist-packages/qiime2/__init__.py:23: in <module>
    __citations__ = tuple(Citations.load('citations.bib', package='qiime2')) /usr/lib/python3/dist-packages/qiime2/core/cite.py:26: in load
    parser = bp.bparser.BibTexParser()
    E AttributeError: module 'bibtexparser' has no attribute 'bparser'
    _ ERROR collecting .pybuild/cpython3_3.11/build/q2cli/tests/test_mystery_stew.py _
    q2cli/tests/test_mystery_stew.py:13: in <module>
    from q2cli.core.usage import CLIUsage
    q2cli/core/usage.py:14: in <module>
    import qiime2.sdk.usage as usage /usr/lib/python3/dist-packages/qiime2/sdk/usage.py:43: in <module>
    import qiime2
    /usr/lib/python3/dist-packages/qiime2/__init__.py:23: in <module>
    __citations__ = tuple(Citations.load('citations.bib', package='qiime2')) /usr/lib/python3/dist-packages/qiime2/core/cite.py:26: in load
    parser = bp.bparser.BibTexParser()
    E AttributeError: module 'bibtexparser' has no attribute 'bparser'
    ___ ERROR collecting .pybuild/cpython3_3.11/build/q2cli/tests/test_tools.py ____
    q2cli/tests/test_tools.py:16: in <module>
    from qiime2 import Artifact /usr/lib/python3/dist-packages/qiime2/__init__.py:23: in <module>
    __citations__ = tuple(Citations.load('citations.bib', package='qiime2')) /usr/lib/python3/dist-packages/qiime2/core/cite.py:26: in load
    parser = bp.bparser.BibTexParser()
    E AttributeError: module 'bibtexparser' has no attribute 'bparser' =============================== warnings summary ===============================
    ../../../../../../usr/lib/python3/dist-packages/qiime2/core/cite.py:10
    /usr/lib/python3/dist-packages/qiime2/core/cite.py:10: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
    import pkg_resources

    ../../../../../../usr/lib/python3/dist-packages/pkg_resources/__init__.py:2871
    /usr/lib/python3/dist-packages/pkg_resources/__init__.py:2871: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('flufl')`.
    Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    declare_namespace(pkg)

    -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================
    ERROR q2cli/tests/test_cache_cli.py - AttributeError: module 'bibtexparser' h...
    ERROR q2cli/tests/test_cli.py - AttributeError: module 'bibtexparser' has no ...
    ERROR q2cli/tests/test_core.py - AttributeError: module 'bibtexparser' has no...
    ERROR q2cli/tests/test_dev.py - AttributeError: module 'bibtexparser' has no ...
    ERROR q2cli/tests/test_mystery_stew.py - AttributeError: module 'bibtexparser...
    ERROR q2cli/tests/test_tools.py - AttributeError: module 'bibtexparser' has n...
    !!!!!!!!!!!!!!!!!!! Interrupted: 6 errors during collection !!!!!!!!!!!!!!!!!!!!
    ======================== 2 warnings, 6 errors in 1.06s =========================
    E: pybuild pybuild:391: test: plugin distutils failed with: exit code=2: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build; python3.11 -m pytest --ignore=q2cli/tests/test_usage.py
    dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11 returned exit code 13


    The full build log is available from: http://qa-logs.debian.net/2024/01/15/q2cli_2022.11.1-2_unstable.log

    All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240115;users=lucas@debian.org
    or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240115&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 Fri Jan 19 19:10:01 2024
    Processing control commands:

    reassign -1 src:qiime/2022.11.1-2
    Unknown command or malformed arguments to command.

    retitle -1 qiime: FTBFS: AttributeError: module 'bibtexparser' has no attribute 'bparser'
    Bug #1060987 [src:q2cli] q2cli: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11 returned exit code 13
    Changed Bug title to 'qiime: FTBFS: AttributeError: module 'bibtexparser' has no attribute 'bparser'' from 'q2cli: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11 returned exit code 13'.
    affects -1 + q2cli
    Bug #1060987 [src:q2cli] qiime: FTBFS: AttributeError: module 'bibtexparser' has no attribute 'bparser'
    Added indication that 1060987 affects q2cli

    --
    1060987: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1060987
    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 Tue Feb 6 08:40:01 2024
    This is a multi-part message in MIME format...

    Your message dated Tue, 6 Feb 2024 08:32:55 +0100
    with message-id <ZcHgpqgOxOPNmv8a@an3as.eu>
    and subject line qiime version 2023.9.2-1 does not show this problem any more has caused the Debian Bug report #1060965,
    regarding q2cli: AttributeError: module 'bibtexparser' has no attribute 'bparser'
    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.)


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

    Received: (at submit) by bugs.debian.org; 16 Jan 2024 19:45:13 +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=-106.9 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
    DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,
    FROMDEVELOPER,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,
    UNPARSEABLE_RELAY,USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST,
    WEIRD_PORT autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 27; hammy, 150; neutral, 356; 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:108
    Return-path: <lucas@debian.org>
    Received: from stravinsky.debian