• Bug#1100263: python-django-pgtrigger: FTBFS: ModuleNotFoundError: No mo

    From Santiago Vila@21:1/5 to All on Wed Mar 12 17:40:05 2025
    Package: src:python-django-pgtrigger
    Version: 4.13.3-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 --with python3 --buildsystem=pybuild
    dh_auto_clean -O--buildsystem=pybuild
    dh_autoreconf_clean -O--buildsystem=pybuild
    dh_clean -O--buildsystem=pybuild
    debian/rules execute_after_dh_clean
    make[1]: Entering directory '/<<PKGBUILDDIR>>'
    rm -rf /<<PKGBUILDDIR>>/mkdocs
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    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
    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_django-pgtrigger
    * Building wheel...
    The "poetry.dev-dependencies" section is deprecated and will be removed in a future version. Use "poetry.group.dev.dependencies" instead.
    Successfully built django_pgtrigger-4.13.3-py3-none-any.whl
    I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with "installer" module
    dh_auto_test -O--buildsystem=pybuild
    create-stamp debian/debhelper-build-stamp
    dh_testroot -O--buildsystem=pybuild
    dh_prep -O--buildsystem=pybuild
    dh_auto_install -O--buildsystem=pybuild
    I: pybuild plugin_pyproject:178: Copying package built for python3.13 to destdir
    debian/rules execute_after_dh_auto_install
    make[1]: Entering directory '/<<PKGBUILDDIR>>'
    XDG_CACHE_HOME=/<<PKGBUILDDIR>> LC_ALL=C.UTF-8 LANG=C.UTF-8 mkdocs build -d /<<PKGBUILDDIR>>/debian/python-django-pgtrigger-doc/usr/share/doc/python-django-pgtrigger-doc/html
    Traceback (most recent call last):
    File "/usr/bin/mkdocs", line 6, in <module>
    cli()
    ~~~^^
    File "/usr/lib/python3/dist-packages/click/core.py", line 1161, in __call__
    return self.main(*args, **kwargs)
    ~~~~~~~~~^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/click/core.py", line 1082, in main
    rv = self.invoke(ctx)
    File "/usr/lib/python3/dist-packages/click/core.py", line 1697, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
    ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
    File "/usr/lib/python3/dist-packages/click/core.py", line 1443, in invoke
    return ctx.invoke(self.callback, **ctx.params)
    ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/click/core.py", line 788, in invoke
    return __callback(*args, **kwargs)
    File "/usr/lib/python3/dist-packages/mkdocs/__main__.py", line 285, in build_command
    cfg = config.load_config(**kwargs)
    File "/usr/lib/python3/dist-packages/mkdocs/config/base.py", line 374, in load_config
    errors, warnings = cfg.validate()
    ~~~~~~~~~~~~^^
    File "/usr/lib/python3/dist-packages/mkdocs/config/base.py", line 231, in validate
    run_failed, run_warnings = self._validate()
    ~~~~~~~~~~~~~~^^
    File "/usr/lib/python3/dist-packages/mkdocs/config/base.py", line 188, in _validate
    self[key] = config_option.validate(value)
    ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^
    File "/usr/lib/python3/dist-packages/mkdocs/config/config_options.py", line 186, in validate
    return self.run_validation(value)
    ~~~~~~~~~~~~~~~~~~~^^^^^^^
    File "/usr/lib/python3/dist-packages/mkdocs/config/config_options.py", line 1065, in run_validation
    self.load_plugin_with_namespace(name, cfg)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/mkdocs/config/config_options.py", line 1103, in load_plugin_with_namespace
    return (name, self.load_plugin(name, config))
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/mkdocs/config/config_options.py", line 1121, in load_plugin
    plugin_cls = self.installed_plugins[name].load()
    File "/usr/lib/python3.13/importlib/metadata/__init__.py", line 179, in load
    module = import_module(match.group('module'))
    File "/usr/lib/python3.13/importlib/__init__.py", line 88, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
    ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
    File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
    File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
    File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
    File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
    File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
    File "/usr/lib/python3/dist-packages/mkdocstrings/plugin.py", line 29, in <module>
    from mkdocstrings.extension import MkdocstringsExtension
    File "/usr/lib/python3/dist-packages/mkdocstrings/extension.py", line 38, in <module>
    from mkdocstrings.handlers.base import BaseHandler, CollectionError, CollectorItem, Handlers
    File "/usr/lib/python3/dist-packages/mkdocstrings/handlers/base.py", line 26, in <module>
    from mkdocs_get_deps.cache import download_and_cache_url ModuleNotFoundError: No module named 'mkdocs_get_deps'
    make[1]: *** [debian/rules:13: execute_after_dh_auto_install] Error 1
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    make: *** [debian/rules:10: binary] Error 2
    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:python-django-pgtrigger, 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 Santiago Vila on Sun Mar 16 17:00:01 2025
    This is a multi-part message in MIME format...

    Your message dated Sun, 16 Mar 2025 15:50:49 +0000
    with message-id <Z9bzWQu_KHZJLsG6@riva.ucam.org>
    and subject line Re: Bug#1100263: python-django-pgtrigger: FTBFS: ModuleNotFoundError: No module named 'mkdocs_get_deps'
    has caused the Debian Bug report #1100263,
    regarding python-django-pgtrigger: FTBFS: ModuleNotFoundError: No module named 'mkdocs_get_deps'
    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.)


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

    Received: (at submit) by bugs.debian.org; 12 Mar 2025 16:32:36 +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=-121.1 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,
    SPF_HELO_PASS,SPF_NONE,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, 12; hammy, 150; neutral, 301; 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 mailly.debian.org ([2001:41b8:202:deb:6564:a62:52c3:4b