• Bug#1103090: python-aiolifx-themes: FTBFS in testing/i386: tests failed

    From Lucas Nussbaum@21:1/5 to All on Mon Apr 14 13:50:18 2025
    Source: python-aiolifx-themes
    Version: 0.5.1-3
    Severity: serious
    Justification: FTBFS
    Tags: trixie sid ftbfs
    User: lucas@debian.org
    Usertags: ftbfs-20250414 ftbfs-trixie

    Hi,

    During a rebuild of all packages in testing (trixie), your package failed
    to build on i386.


    Relevant part (hopefully):
    debian/rules binary
    make: pyversions: No such file or directory
    py3versions: no X-Python3-Version in control file, using supported versions dh binary --buildsystem=pybuild --with python3
    dh_update_autotools_config -O--buildsystem=pybuild
    dh_autoreconf -O--buildsystem=pybuild
    dh_auto_configure -O--buildsystem=pybuild
    dh_auto_build -O--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 /build/reproducible-path/python-aiolifx-themes-0.5.1/.pybuild/cpython3_3.13
    * Building wheel...
    Successfully built aiolifx_themes-0.5.1-py3-none-any.whl
    I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with "installer" module
    dh_auto_test -O--buildsystem=pybuild
    I: pybuild base:311: cd /build/reproducible-path/python-aiolifx-themes-0.5.1/.pybuild/cpython3_3.13/build; python3.13 -m pytest tests
    /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:207: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset.
    The event loop scope for asynchronous fixtures will default to the fixture caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to function scope. Set the default fixture loop scope explicitly in order
    to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session"

    warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET)) ============================= 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: /build/reproducible-path/python-aiolifx-themes-0.5.1/.pybuild/cpython3_3.13/build
    configfile: pyproject.toml
    plugins: asyncio-0.25.1, typeguard-4.4.2, cov-5.0.0
    asyncio: mode=Mode.STRICT, asyncio_default_fixture_loop_scope=None
    collecting ... collected 4 items

    tests/test_library.py::test_theme_library PASSED [ 25%]
    tests/test_painter.py::test_theme_painter PASSED [ 50%]
    tests/test_theme.py::test_theme_color FAILED [ 75%]
    tests/test_theme.py::test_theme_methods PASSED [100%]

    =================================== FAILURES ===================================
    _______________________________ test_theme_color _______________________________

    def test_theme_color() -> None:
    """Test the ThemeColor methods."""

    aqua = ThemeColor(180, 100, 100, 3500)
    blue = ThemeColor(240, 1.0, 1.0, 3500)
    coral = ThemeColor(16.114, 68.627, 100.0, 3500)

    rgb = MagicMock()

    assert (aqua.hue, aqua.saturation, aqua.brightness, aqua.kelvin) == (
    180,
    1,
    1,
    3500,
    )
    assert aqua < blue
    assert aqua > coral
    assert hash(aqua) == -4899733196980317225
    E assert -364122507 == -4899733196980317225
    E + where -364122507 = hash(<ThemeColor (180, 1.0000, 1.0000, 3500)>)

    tests/test_theme.py:31: AssertionError

    ---------- coverage: platform linux, python 3.13.2-final-0 -----------
    Name Stmts Miss Branch BrPart Cover Missing --------------------------------------------------------------------- aiolifx_themes/theme.py 100 7 24 4 91% 57, 69, 81, 122, 151-153
    ---------------------------------------------------------------------
    TOTAL 386 7 106 4 98%

    10 files skipped due to complete coverage.

    =========================== short test summary info ============================
    FAILED tests/test_theme.py::test_theme_color - assert -364122507 == -48997331...
    ========================= 1 failed, 3 passed in 1.00s ==========================
    E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /build/reproducible-path/python-aiolifx-themes-0.5.1/.pybuild/cpython3_3.13/build; python3.13 -m pytest tests
    dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 returned exit code 13


    The full build log is available from: http://qa-logs.debian.net/2025/04/14/python-aiolifx-themes_0.5.1-3_testing-i386.log

    All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20250414;users=lucas@debian.org
    or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20250414&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)