user [email protected]
usertags 1143328 python3.15
retitle 1143328 FTBFS: module 'pkgutil' has no attribute 'get_loader'
thanks

Hi!

While rebuilding the python related packages against the Python 3.15 version we ran into this FTBFS:
https://debusine.debian.net/debian/r-python-python3.15/artifact/4856255/

Retitling the bug to highlight the most relevant part of the test errors:

======================================================================
ERROR: test_autotools_with_libtool (tests.test_main.EndToEndTest.test_autotools_with_libtool)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/reproducible-path/jhbuild-3.38.0/tests/test_main.py", line 732, in test_autotools_with_libtool
    build = self.make_terminal_buildscript(config, module_list)
File "/build/reproducible-path/jhbuild-3.38.0/tests/test_main.py", line 197, in make_terminal_buildscript
    module_set = jhbuild.moduleset.load(config)
File "/build/reproducible-path/jhbuild-3.38.0/jhbuild/moduleset.py", line 370, in load
    ms.modules.update(_parse_module_set(config, uri).modules)
                      ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/build/reproducible-path/jhbuild-3.38.0/jhbuild/moduleset.py", line 486, in _parse_module_set
    repo_class = get_repo_type(repo_type)
File "/build/reproducible-path/jhbuild-3.38.0/jhbuild/versioncontrol/__init__.py", line 195, in get_repo_type
    try_import_module('jhbuild.versioncontrol.%s' % name)
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/build/reproducible-path/jhbuild-3.38.0/jhbuild/utils/misc.py", line 39, in try_import_module
    if pkgutil.get_loader(module_name) is None:
       ^^^^^^^^^^^^^^^^^^
AttributeError: module 'pkgutil' has no attribute 'get_loader'


Please consider investigating the root cause to get this package back in a healthy state.

--
Regards,
Marga

Reply via email to