• Bug#1102380: led-ble: FTBFS: E ModuleNotFoundError: No module named 'bl

    From Santiago Vila@21:1/5 to All on Tue Apr 8 15:00:02 2025
    Package: src:led-ble
    Version: 1.1.6-1
    Severity: serious
    Tags: ftbfs trixie sid

    Dear maintainer:

    During a rebuild of all packages in unstable, your package failed to build:

    --------------------------------------------------------------------------------
    [...]
    debian/rules clean
    dh clean --buildsystem=pybuild
    dh_auto_clean -O--buildsystem=pybuild
    dh_autoreconf_clean -O--buildsystem=pybuild
    dh_clean -O--buildsystem=pybuild
    debian/rules binary
    dh binary --buildsystem=pybuild
    dh_update_autotools_config -O--buildsystem=pybuild
    dh_autoreconf -O--buildsystem=pybuild
    dh_auto_configure -O--buildsystem=pybuild
    debian/rules override_dh_auto_build
    make[1]: Entering directory '/<<PKGBUILDDIR>>'
    dh_auto_build override_dh_auto_build --buildsystem=pybuild
    I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build" module
    I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13
    * Building wheel...
    Successfully built led_ble-1.1.6-py3-none-any.whl
    I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with "installer" module
    cd docs; PYTHONPATH=/<<PKGBUILDDIR>>/src LC_ALL=C.UTF-8 LANGUAGE=C.UTF-8 sphinx-build -bhtml -d _build/doctrees source _build/html
    Running Sphinx v8.1.3
    loading translations [en]... done
    making output directory... done
    Converting `source_suffix = ['.rst', '.md']` to `source_suffix = {'.rst': 'restructuredtext', '.md': 'restructuredtext'}`.
    myst v4.0.1: MdParserConfig(commonmark_only=False, gfm_only=False, enable_extensions=set(), disable_syntax=[], all_links_external=False, links_external_new_tab=False, url_schemes=('http', 'https', 'mailto', 'ftp'), ref_domains=None, fence_as_directive=
    set(), number_code_blocks=[], title_to_header=False, heading_anchors=0, heading_slug_func=None, html_meta={}, footnote_sort=True, footnote_transition=True, words_per_minute=200, substitutions={}, linkify_fuzzy_links=True, dmath_allow_labels=True, dmath_
    allow_space=True, dmath_allow_digits=True, dmath_double_inline=False, update_mathjax=True, mathjax_classes='tex2jax_process|mathjax_process|math|output_area', enable_checkboxes=False, suppress_warnings=[], highlight_code_blocks=True)
    building [mo]: targets for 0 po files that are out of date
    writing output...
    building [html]: targets for 5 source files that are out of date
    updating environment: [new config] 5 added, 0 changed, 0 removed
    reading sources... [ 20%] changelog
    reading sources... [ 40%] contributing
    reading sources... [ 60%] index
    reading sources... [ 80%] installation
    reading sources... [100%] usage

    looking for now-outdated files... none found
    pickling environment... done
    checking consistency... done
    preparing documents... done
    copying assets...
    copying static files...
    Writing evaluated template result to /<<PKGBUILDDIR>>/docs/_build/html/_static/language_data.js
    Writing evaluated template result to /<<PKGBUILDDIR>>/docs/_build/html/_static/documentation_options.js
    Writing evaluated template result to /<<PKGBUILDDIR>>/docs/_build/html/_static/basic.css
    Writing evaluated template result to /<<PKGBUILDDIR>>/docs/_build/html/_static/js/versions.js
    copying static files: done
    copying extra files...
    copying extra files: done
    copying assets: done
    writing output... [ 20%] changelog
    writing output... [ 40%] contributing
    writing output... [ 60%] index
    writing output... [ 80%] installation
    writing output... [100%] usage

    generating indices... genindex done
    writing additional pages... search done
    dumping search index in English (code: en)... done
    dumping object inventory... done
    build succeeded.

    The HTML pages are in _build/html.
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    dh_auto_test -O--buildsystem=pybuild
    I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m pytest --no-cov
    ============================= test session starts ==============================
    platform linux -- Python 3.13.2, pytest-8.3.5, pluggy-1.5.0 -- /usr/bin/python3.13
    cachedir: .pytest_cache
    rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build
    configfile: pyproject.toml
    plugins: typeguard-4.4.2, cov-5.0.0
    collecting ... collected 0 items / 1 error

    ==================================== ERRORS ====================================
    _____________________ ERROR collecting tests/test_init.py ______________________
    ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/test_init.py'.
    Hint: make sure your test modules/packages have valid Python names.
    Traceback:
    /usr/lib/python3.13/importlib/__init__.py:88: in import_module
    return _bootstrap._gcd_import(name[level:], package, level) tests/test_init.py:1: in <module>
    import led_ble
    led_ble/__init__.py:6: in <module>
    from bleak_retry_connector import get_device /usr/lib/python3/dist-packages/bleak_retry_connector/__init__.py:11: in <module>
    from bleak import BleakClient, BleakScanner
    E ModuleNotFoundError: No module named 'bleak'
    =========================== short test summary info ============================
    ERROR tests/test_init.py
    !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
    =============================== 1 error in 0.06s ===============================
    E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=2: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m pytest --no-cov
    dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 returned exit code 13
    make: *** [debian/rules:5: binary] Error 25
    dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

    The above is just how the build ends and not necessarily the most relevant part.
    If required, the full build log is available here:

    https://people.debian.org/~sanvila/build-logs/202504/

    About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages.

    If you could not reproduce the bug please contact me privately, as I
    am willing to provide ssh access to a virtual machine where the bug is
    fully reproducible.

    If this is really a bug in one of the build-depends, please use
    reassign and add an affects on src:led-ble, so that this is still
    visible in the BTS web page for this package.

    Thanks.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Wed Apr 9 15:00:02 2025
    Processing control commands:

    reassign -1 python3-bleak-retry-connector 3.10.0-1
    Bug #1102380 [src:led-ble] led-ble: FTBFS: E ModuleNotFoundError: No module named 'bleak'
    Bug reassigned from package 'src:led-ble' to 'python3-bleak-retry-connector'. No longer marked as found in versions led-ble/1.1.6-1.
    Ignoring request to alter fixed versions of bug #1102380 to the same values previously set
    Bug #1102380 [python3-bleak-retry-connector] led-ble: FTBFS: E ModuleNotFoundError: No module named 'bleak'
    Marked as found in versions bleak-retry-connector/3.10.0-1.
    affects -1 src:led-ble
    Bug #1102380 [python3-bleak-retry-connector] led-ble: FTBFS: E ModuleNotFoundError: No module named 'bleak'
    Added indication that 1102380 affects src:led-ble

    --
    1102380: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1102380
    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 Wed Apr 9 15:10:01 2025
    This is a multi-part message in MIME format...

    Your message dated Wed, 09 Apr 2025 13:04:46 +0000
    with message-id <E1u2V6k-00AddN-MV@fasolo.debian.org>
    and subject line Bug#1102380: fixed in bleak-retry-connector 3.10.0-3
    has caused the Debian Bug report #1102380,
    regarding led-ble: FTBFS: E ModuleNotFoundError: No module named 'bleak'
    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.)


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

    Received: (at submit) by bugs.debian.org; 8 Apr 2025 12:51:44 +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=-122.0 required=4.0 tests=ALL_TRUSTED,BAYES_00,
    BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
    DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,FROMDEVELOPER,HAS_PACKAGE,
    USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST,X_DEBBUGS_CC
    autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 13; hammy, 150; neutral, 300; spammy,
    0. spammytokens: hammytokens:0.000-+--python3, 0.000-+--trixie,
    0.000-+--pkgbuilddir, 0.000-+--PKGBUILDDIR, 0.000-+--sk:dh_auto Return-path: <sanvila@debian.org>
    Received: from muffat.debian.org ([2607:f8f0:614:1::1274:33]:51388)
    from C=NA,ST=NA,L=Ankh M