• Bug#1100296: regenmaschine: FTBFS: E ModuleNotFoundError: No module nam

    From Santiago Vila@21:1/5 to All on Wed Mar 12 17:40:10 2025
    Package: src:regenmaschine
    Version: 2024.3.0-2
    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
    debian/rules override_dh_auto_clean
    make[1]: Entering directory '/<<PKGBUILDDIR>>'
    dh_auto_clean
    rm -rf regenmaschine.egg-info/
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    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
    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 /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_regenmaschine
    * Building wheel...
    Successfully built regenmaschine-2024.3.0-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 /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_regenmaschine/build; python3.13 -m pytest --no-cov
    /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
    rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_regenmaschine/build configfile: pyproject.toml
    plugins: asyncio-0.25.1, aresponses-3.0.0, cov-5.0.0
    asyncio: mode=Mode.STRICT, asyncio_default_fixture_loop_scope=None
    collected 0 items / 11 errors

    ==================================== ERRORS ====================================
    _________________ ERROR collecting tests/endpoints/test_api.py _________________
    ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_regenmaschine/build/tests/endpoints/test_api.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/endpoints/test_api.py:9: in <module>
    from regenmaschine import Client
    regenmaschine/__init__.py:3: in <module>
    from .client import Client # noqa
    regenmaschine/client.py:16: in <module>
    from .controller import Controller, LocalController, RemoteController regenmaschine/controller.py:11: in <module>
    from regenmaschine.endpoints.api import API regenmaschine/endpoints/__init__.py:8: in <module>
    from typing_extensions import ParamSpec
    E ModuleNotFoundError: No module named 'typing_extensions'
    _____________ ERROR collecting tests/endpoints/test_diagnostics.py _____________
    ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_regenmaschine/build/tests/endpoints/test_diagnostics.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/endpoints/test_diagnostics.py:9: in <module>
    from regenmaschine import Client
    regenmaschine/__init__.py:3: in <module>
    from .client import Client # noqa
    regenmaschine/client.py:16: in <module>
    from .controller import Controller, LocalController, RemoteController regenmaschine/controller.py:11: in <module>
    from regenmaschine.endpoints.api import API regenmaschine/endpoints/__init__.py:8: in <module>
    from typing_extensions import ParamSpec
    E ModuleNotFoundError: No module named 'typing_extensions'
    _______________ ERROR collecting tests/endpoints/test_machine.py _______________
    ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_regenmaschine/build/tests/endpoints/test_machine.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/endpoints/test_machine.py:10: in <module>
    from regenmaschine import Client
    regenmaschine/__init__.py:3: in <module>
    from .client import Client # noqa
    regenmaschine/client.py:16: in <module>
    from .controller import Controller, LocalController, RemoteController regenmaschine/controller.py:11: in <module>
    from regenmaschine.endpoints.api import API regenmaschine/endpoints/__init__.py:8: in <module>
    from typing_extensions import ParamSpec
    E ModuleNotFoundError: No module named 'typing_extensions'
    _______________ ERROR collecting tests/endpoints/test_parser.py ________________
    ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_regenmaschine/build/tests/endpoints/test_parser.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/endpoints/test_parser.py:9: in <module>
    from regenmaschine import Client
    regenmaschine/__init__.py:3: in <module>
    from .client import Client # noqa
    regenmaschine/client.py:16: in <module>
    from .controller import Controller, LocalController, RemoteController regenmaschine/controller.py:11: in <module>
    from regenmaschine.endpoints.api import API regenmaschine/endpoints/__init__.py:8: in <module>
    from typing_extensions import ParamSpec
    E ModuleNotFoundError: No module named 'typing_extensions'
    _______________ ERROR collecting tests/endpoints/test_program.py _______________
    ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_regenmaschine/build/tests/endpoints/test_program.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/endpoints/test_program.py:10: in <module>
    from regenmaschine import Client
    regenmaschine/__init__.py:3: in <module>
    from .client import Client # noqa
    regenmaschine/client.py:16: in <module>
    from .controller import Controller, LocalController, RemoteController regenmaschine/controller.py:11: in <module>
    from regenmaschine.endpoints.api import API regenmaschine/endpoints/__init__.py:8: in <module>
    from typing_extensions import ParamSpec
    E ModuleNotFoundError: No module named 'typing_extensions'
    ______________ ERROR collecting tests/endpoints/test_provision.py ______________
    ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_regenmaschine/build/tests/endpoints/test_provision.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/endpoints/test_provision.py:10: in <module>
    from regenmaschine import Client
    regenmaschine/__init__.py:3: in <module>
    from .client import Client # noqa
    regenmaschine/client.py:16: in <module>
    from .controller import Controller, LocalController, RemoteController regenmaschine/controller.py:11: in <module>
    from regenmaschine.endpoints.api import API regenmaschine/endpoints/__init__.py:8: in <module>
    from typing_extensions import ParamSpec
    E ModuleNotFoundError: No module named 'typing_extensions'
    ____________ ERROR collecting tests/endpoints/test_restrictions.py _____________
    ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_regenmaschine/build/tests/endpoints/test_restrictions.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/endpoints/test_restrictions.py:9: in <module>
    from regenmaschine import Client
    regenmaschine/__init__.py:3: in <module>
    from .client import Client # noqa
    regenmaschine/client.py:16: in <module>
    from .controller import Controller, LocalController, RemoteController regenmaschine/controller.py:11: in <module>
    from regenmaschine.endpoints.api import API regenmaschine/endpoints/__init__.py:8: in <module>
    from typing_extensions import ParamSpec
    E ModuleNotFoundError: No module named 'typing_extensions'
    ________________ ERROR collecting tests/endpoints/test_stats.py ________________
    ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_regenmaschine/build/tests/endpoints/test_stats.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/endpoints/test_stats.py:10: in <module>
    from regenmaschine import Client
    regenmaschine/__init__.py:3: in <module>
    from .client import Client # noqa
    regenmaschine/client.py:16: in <module>
    from .controller import Controller, LocalController, RemoteController regenmaschine/controller.py:11: in <module>
    from regenmaschine.endpoints.api import API regenmaschine/endpoints/__init__.py:8: in <module>
    from typing_extensions import ParamSpec
    E ModuleNotFoundError: No module named 'typing_extensions'
    ______________ ERROR collecting tests/endpoints/test_watering.py _______________
    ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_regenmaschine/build/tests/endpoints/test_watering.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/endpoints/test_watering.py:11: in <module>
    from regenmaschine import Client
    regenmaschine/__init__.py:3: in <module>
    from .client import Client # noqa
    regenmaschine/client.py:16: in <module>
    from .controller import Controller, LocalController, RemoteController regenmaschine/controller.py:11: in <module>
    from regenmaschine.endpoints.api import API regenmaschine/endpoints/__init__.py:8: in <module>
    from typing_extensions import ParamSpec
    E ModuleNotFoundError: No module named 'typing_extensions'
    ________________ ERROR collecting tests/endpoints/test_zone.py _________________
    ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_regenmaschine/build/tests/endpoints/test_zone.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/endpoints/test_zone.py:10: in <module>
    from regenmaschine import Client
    regenmaschine/__init__.py:3: in <module>
    from .client import Client # noqa
    regenmaschine/client.py:16: in <module>
    from .controller import Controller, LocalController, RemoteController regenmaschine/controller.py:11: in <module>
    from regenmaschine.endpoints.api import API regenmaschine/endpoints/__init__.py:8: in <module>
    from typing_extensions import ParamSpec
    E ModuleNotFoundError: No module named 'typing_extensions' ____________________ ERROR collecting tests/test_client.py _____________________
    ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_regenmaschine/build/tests/test_client.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_client.py:14: in <module>
    from regenmaschine import Client
    regenmaschine/__init__.py:3: in <module>
    from .client import Client # noqa
    regenmaschine/client.py:16: in <module>
    from .controller import Controller, LocalController, RemoteController regenmaschine/controller.py:11: in <module>
    from regenmaschine.endpoints.api import API regenmaschine/endpoints/__init__.py:8: in <module>
    from typing_extensions import ParamSpec
    E ModuleNotFoundError: No module named 'typing_extensions' =========================== short test summary info ============================
    ERROR tests/endpoints/test_api.py
    ERROR tests/endpoints/test_diagnostics.py
    ERROR tests/endpoints/test_machine.py
    ERROR tests/endpoints/test_parser.py
    ERROR tests/endpoints/test_program.py
    ERROR tests/endpoints/test_provision.py
    ERROR tests/endpoints/test_restrictions.py
    ERROR tests/endpoints/test_stats.py
    ERROR tests/endpoints/test_watering.py
    ERROR tests/endpoints/test_zone.py
    ERROR tests/test_client.py
    !!!!!!!!!!!!!!!!!!! Interrupted: 11 errors during collection !!!!!!!!!!!!!!!!!!!
    ============================== 11 errors in 0.17s ==============================
    E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=2: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_regenmaschine/build; python3.13 -m pytest --no-cov
    dh_auto_test: error: pybuild --test -i python{version} -p 3.13 returned exit code 13
    make: *** [debian/rules:8: 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/202503/

    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:regenmaschine, 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 Bastian Germann@21:1/5 to All on Thu Mar 13 14:00:01 2025
    Control: tags -1 patch

    Please find a debdiff attached with the changes of my NMU fixing this.

    diff -Nru regenmaschine-2024.3.0/debian/changelog regenmaschine-2024.3.0/debian/changelog
    --- regenmaschine-2024.3.0/debian/changelog 2024-09-12 10:20:28.000000000 +0200
    +++ regenmaschine-2024.3.0/debian/changelog 2025-03-13 12:45:21.000000000 +0100
    @@ -1,3 +1,10 @@
    +regenmaschine (2024.3.0-2.1) unstable; urgency=medium
    +
    + * Non-maintainer upload.
    + * Add B-D python3-typing-extensions. (Closes: #1100296)
    +
    + -- Bastian Germann <bage@debian.org> Thu, 13 Mar 2025 12:45:21 +0100
    +
    regenmaschine (2024.3.0-2) unstable; urgency=medium

    * Source-only upload to allow package to migrate to testing.
    diff -Nru regenmaschine-2024.3.0/debian/control regenmaschine-2024.3.0/debian/control
    --- regenmaschine-2024.3.0/debian/control 2024-08-24 17:37:31.000000000 +0200
    +++ regenmaschine-2024.3.0/debian/control 2025-03-13 12:45:21.000000000 +0100
    @@ -10,6 +10,7 @@
    pybuild-plugin-pyproject,
    python3-all,
    python3-poetry-core,
    + python3-typing-extensions,
    Build-Depends-Indep:
    python3-aiohttp <!nocheck>,
    python3-aresponses <!nocheck>,

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet