Package: src:androguard
Version: 3.4.0~a1-15
Severity: serious
Tags: ftbfs trixie sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
Note: Similar failures in: androguard onionshare sqlfluff
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --buildsystem=pybuild
dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:311: python3.13 setup.py clean
/usr/lib/python3/dist-packages/setuptools/__init__.py:94: _DeprecatedInstaller:
setuptools.installer and fetch_build_eggs are deprecated.
!!
********************************************************************************
Requirements should be satisfied by a PEP 517 installer.
If you are using pip, you can try `pip install --use-pep517`.
********************************************************************************
!!
dist.fetch_build_eggs(dist.setup_requires)
[... snipped ...]
androguard/core/bytecodes/apk.py:1: in <module>
from androguard.core import androconf
androguard/core/androconf.py:5: in <module>
from colorama import init, Fore
E ModuleNotFoundError: No module named 'colorama'
_______ ERROR collecting .pybuild/cpython3_3.13/build/tests/test_arsc.py _______
ImportError while importing test module
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/test_arsc.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_arsc.py:5: in <module>
from androguard.core.bytecodes import apk, axml
androguard/core/bytecodes/apk.py:1: in <module>
from androguard.core import androconf
androguard/core/androconf.py:5: in <module>
from colorama import init, Fore
E ModuleNotFoundError: No module named 'colorama'
_______ ERROR collecting .pybuild/cpython3_3.13/build/tests/test_axml.py _______
ImportError while importing test module
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/test_axml.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_axml.py:7: in <module>
from androguard.core.bytecodes import axml
androguard/core/bytecodes/axml/__init__.py:1: in <module>
from androguard.core import bytecode
androguard/core/bytecode.py:8: in <module>
from androguard.core.androconf import CONF, color_range
androguard/core/androconf.py:5: in <module>
from colorama import init, Fore
E ModuleNotFoundError: No module named 'colorama'
____ ERROR collecting .pybuild/cpython3_3.13/build/tests/test_decompiler.py ____
ImportError while importing test module
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/test_decompiler.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_decompiler.py:3: in <module>
from androguard.misc import AnalyzeDex
androguard/misc.py:1: in <module>
from androguard.session import Session
androguard/session.py:5: in <module>
from androguard.core.analysis.analysis import Analysis
androguard/core/analysis/analysis.py:5: in <module>
from androguard.core.androconf import is_ascii_problem,
load_api_specific_resource_module
androguard/core/androconf.py:5: in <module>
from colorama import init, Fore
E ModuleNotFoundError: No module named 'colorama'
__ ERROR collecting .pybuild/cpython3_3.13/build/tests/test_decompilerjadx.py __
ImportError while importing test module
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/test_decompilerjadx.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_decompilerjadx.py:6: in <module>
from androguard.misc import AnalyzeAPK
androguard/misc.py:1: in <module>
from androguard.session import Session
androguard/session.py:5: in <module>
from androguard.core.analysis.analysis import Analysis
androguard/core/analysis/analysis.py:5: in <module>
from androguard.core.androconf import is_ascii_problem,
load_api_specific_resource_module
androguard/core/androconf.py:5: in <module>
from colorama import init, Fore
E ModuleNotFoundError: No module named 'colorama'
_______ ERROR collecting .pybuild/cpython3_3.13/build/tests/test_dex.py ________
ImportError while importing test module
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/test_dex.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_dex.py:8: in <module>
from androguard.core.bytecodes import dvm
androguard/core/bytecodes/dvm.py:13: in <module>
from androguard.core import bytecode
androguard/core/bytecode.py:8: in <module>
from androguard.core.androconf import CONF, color_range
androguard/core/androconf.py:5: in <module>
from colorama import init, Fore
E ModuleNotFoundError: No module named 'colorama'
__ ERROR collecting .pybuild/cpython3_3.13/build/tests/test_dexcodeparsing.py __
ImportError while importing test module
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/test_dexcodeparsing.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_dexcodeparsing.py:1: in <module>
from androguard.core.bytecodes.dvm import DalvikVMFormat
androguard/core/bytecodes/dvm.py:13: in <module>
from androguard.core import bytecode
androguard/core/bytecode.py:8: in <module>
from androguard.core.androconf import CONF, color_range
androguard/core/androconf.py:5: in <module>
from colorama import init, Fore
E ModuleNotFoundError: No module named 'colorama'
___ ERROR collecting .pybuild/cpython3_3.13/build/tests/test_entry_points.py ___
ImportError while importing test module
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/test_entry_points.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_entry_points.py:14: in <module>
from androguard.cli import entry_points
androguard/cli/__init__.py:1: in <module>
from androguard.cli.main import (androarsc_main,
androguard/cli/main.py:13: in <module>
from androguard.core import androconf
androguard/core/androconf.py:5: in <module>
from colorama import init, Fore
E ModuleNotFoundError: No module named 'colorama'
_______ ERROR collecting .pybuild/cpython3_3.13/build/tests/test_misc.py _______
ImportError while importing test module
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/test_misc.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_misc.py:5: in <module>
from androguard.misc import clean_file_name
androguard/misc.py:1: in <module>
from androguard.session import Session
androguard/session.py:5: in <module>
from androguard.core.analysis.analysis import Analysis
androguard/core/analysis/analysis.py:5: in <module>
from androguard.core.androconf import is_ascii_problem,
load_api_specific_resource_module
androguard/core/androconf.py:5: in <module>
from colorama import init, Fore
E ModuleNotFoundError: No module named 'colorama'
______ ERROR collecting .pybuild/cpython3_3.13/build/tests/test_rename.py ______
ImportError while importing test module
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/test_rename.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_rename.py:2: in <module>
from androguard.core.bytecodes import dvm
androguard/core/bytecodes/dvm.py:13: in <module>
from androguard.core import bytecode
androguard/core/bytecode.py:8: in <module>
from androguard.core.androconf import CONF, color_range
androguard/core/androconf.py:5: in <module>
from colorama import init, Fore
E ModuleNotFoundError: No module named 'colorama'
_____ ERROR collecting .pybuild/cpython3_3.13/build/tests/test_session.py ______
ImportError while importing test module
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/test_session.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_session.py:4: in <module>
from androguard.core.bytecodes.apk import APK
androguard/core/bytecodes/apk.py:1: in <module>
from androguard.core import androconf
androguard/core/androconf.py:5: in <module>
from colorama import init, Fore
E ModuleNotFoundError: No module named 'colorama'
_____ ERROR collecting .pybuild/cpython3_3.13/build/tests/test_strings.py ______
ImportError while importing test module
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/test_strings.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_strings.py:7: in <module>
from androguard.core.bytecodes import dvm
androguard/core/bytecodes/dvm.py:13: in <module>
from androguard.core import bytecode
androguard/core/bytecode.py:8: in <module>
from androguard.core.androconf import CONF, color_range
androguard/core/androconf.py:5: in <module>
from colorama import init, Fore
E ModuleNotFoundError: No module named 'colorama'
______ ERROR collecting .pybuild/cpython3_3.13/build/tests/test_types.py _______
ImportError while importing test module
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/test_types.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_types.py:25: in <module>
from androguard.session import Session
androguard/session.py:5: in <module>
from androguard.core.analysis.analysis import Analysis
androguard/core/analysis/analysis.py:5: in <module>
from androguard.core.androconf import is_ascii_problem,
load_api_specific_resource_module
androguard/core/androconf.py:5: in <module>
from colorama import init, Fore
E ModuleNotFoundError: No module named 'colorama'
=============================== warnings summary ===============================
androguard/core/bytecodes/apk.py:1027
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/androguard/core/bytecodes/apk.py:1027:
SyntaxWarning: invalid escape sequence '\>'
"""
tests/test_entry_points.py:4
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/test_entry_points.py:4:
DeprecationWarning: pkg_resources is deprecated as an API. See
https://setuptools.pypa.io/en/latest/pkg_resources.html
from pkg_resources import resource_filename
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
ERROR tests/test_analysis.py
ERROR tests/test_annotations.py
ERROR tests/test_apk.py
ERROR tests/test_arsc.py
ERROR tests/test_axml.py
ERROR tests/test_decompiler.py
ERROR tests/test_decompilerjadx.py
ERROR tests/test_dex.py
ERROR tests/test_dexcodeparsing.py
ERROR tests/test_entry_points.py
ERROR tests/test_misc.py
ERROR tests/test_rename.py
ERROR tests/test_session.py
ERROR tests/test_strings.py
ERROR tests/test_types.py
!!!!!!!!!!!!!!!!!!! Interrupted: 15 errors during collection !!!!!!!!!!!!!!!!!!!
======================== 2 warnings, 15 errors in 0.82s ========================
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=2: cd
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build'; python3.13 -m pytest tests
I: pybuild base:311: cd '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build';
python3.12 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.12.8, pytest-8.3.4, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>
plugins: typeguard-4.4.1
collected 26 items / 15 errors
==================================== ERRORS ====================================
_____ ERROR collecting .pybuild/cpython3_3.12/build/tests/test_analysis.py _____
ImportError while importing test module
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/test_analysis.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/test_analysis.py:5: in <module>
from androguard.core.bytecodes import dvm
androguard/core/bytecodes/dvm.py:13: in <module>
from androguard.core import bytecode
androguard/core/bytecode.py:8: in <module>
from androguard.core.androconf import CONF, color_range
androguard/core/androconf.py:5: in <module>
from colorama import init, Fore
E ModuleNotFoundError: No module named 'colorama'
___ ERROR collecting .pybuild/cpython3_3.12/build/tests/test_annotations.py ____
ImportError while importing test module
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/test_annotations.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/test_annotations.py:3: in <module>
from androguard.core.bytecodes import dvm
androguard/core/bytecodes/dvm.py:13: in <module>
from androguard.core import bytecode
androguard/core/bytecode.py:8: in <module>
from androguard.core.androconf import CONF, color_range
androguard/core/androconf.py:5: in <module>
from colorama import init, Fore
E ModuleNotFoundError: No module named 'colorama'
_______ ERROR collecting .pybuild/cpython3_3.12/build/tests/test_apk.py ________
ImportError while importing test module
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/test_apk.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/test_apk.py:16: in <module>
from androguard.core.bytecodes import apk
androguard/core/bytecodes/apk.py:1: in <module>
from androguard.core import androconf
androguard/core/androconf.py:5: in <module>
from colorama import init, Fore
E ModuleNotFoundError: No module named 'colorama'
_______ ERROR collecting .pybuild/cpython3_3.12/build/tests/test_arsc.py _______
ImportError while importing test module
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/test_arsc.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/test_arsc.py:5: in <module>
from androguard.core.bytecodes import apk, axml
androguard/core/bytecodes/apk.py:1: in <module>
from androguard.core import androconf
androguard/core/androconf.py:5: in <module>
from colorama import init, Fore
E ModuleNotFoundError: No module named 'colorama'
_______ ERROR collecting .pybuild/cpython3_3.12/build/tests/test_axml.py _______
ImportError while importing test module
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/test_axml.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/test_axml.py:7: in <module>
from androguard.core.bytecodes import axml
androguard/core/bytecodes/axml/__init__.py:1: in <module>
from androguard.core import bytecode
androguard/core/bytecode.py:8: in <module>
from androguard.core.androconf import CONF, color_range
androguard/core/androconf.py:5: in <module>
from colorama import init, Fore
E ModuleNotFoundError: No module named 'colorama'
____ ERROR collecting .pybuild/cpython3_3.12/build/tests/test_decompiler.py ____
ImportError while importing test module
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/test_decompiler.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/test_decompiler.py:3: in <module>
from androguard.misc import AnalyzeDex
androguard/misc.py:1: in <module>
from androguard.session import Session
androguard/session.py:5: in <module>
from androguard.core.analysis.analysis import Analysis
androguard/core/analysis/analysis.py:5: in <module>
from androguard.core.androconf import is_ascii_problem,
load_api_specific_resource_module
androguard/core/androconf.py:5: in <module>
from colorama import init, Fore
E ModuleNotFoundError: No module named 'colorama'
__ ERROR collecting .pybuild/cpython3_3.12/build/tests/test_decompilerjadx.py __
ImportError while importing test module
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/test_decompilerjadx.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/test_decompilerjadx.py:6: in <module>
from androguard.misc import AnalyzeAPK
androguard/misc.py:1: in <module>
from androguard.session import Session
androguard/session.py:5: in <module>
from androguard.core.analysis.analysis import Analysis
androguard/core/analysis/analysis.py:5: in <module>
from androguard.core.androconf import is_ascii_problem,
load_api_specific_resource_module
androguard/core/androconf.py:5: in <module>
from colorama import init, Fore
E ModuleNotFoundError: No module named 'colorama'
_______ ERROR collecting .pybuild/cpython3_3.12/build/tests/test_dex.py ________
ImportError while importing test module
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/test_dex.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/test_dex.py:8: in <module>
from androguard.core.bytecodes import dvm
androguard/core/bytecodes/dvm.py:13: in <module>
from androguard.core import bytecode
androguard/core/bytecode.py:8: in <module>
from androguard.core.androconf import CONF, color_range
androguard/core/androconf.py:5: in <module>
from colorama import init, Fore
E ModuleNotFoundError: No module named 'colorama'
__ ERROR collecting .pybuild/cpython3_3.12/build/tests/test_dexcodeparsing.py __
ImportError while importing test module
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/test_dexcodeparsing.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/test_dexcodeparsing.py:1: in <module>
from androguard.core.bytecodes.dvm import DalvikVMFormat
androguard/core/bytecodes/dvm.py:13: in <module>
from androguard.core import bytecode
androguard/core/bytecode.py:8: in <module>
from androguard.core.androconf import CONF, color_range
androguard/core/androconf.py:5: in <module>
from colorama import init, Fore
E ModuleNotFoundError: No module named 'colorama'
___ ERROR collecting .pybuild/cpython3_3.12/build/tests/test_entry_points.py ___
ImportError while importing test module
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/test_entry_points.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/test_entry_points.py:14: in <module>
from androguard.cli import entry_points
androguard/cli/__init__.py:1: in <module>
from androguard.cli.main import (androarsc_main,
androguard/cli/main.py:13: in <module>
from androguard.core import androconf
androguard/core/androconf.py:5: in <module>
from colorama import init, Fore
E ModuleNotFoundError: No module named 'colorama'
_______ ERROR collecting .pybuild/cpython3_3.12/build/tests/test_misc.py _______
ImportError while importing test module
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/test_misc.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/test_misc.py:5: in <module>
from androguard.misc import clean_file_name
androguard/misc.py:1: in <module>
from androguard.session import Session
androguard/session.py:5: in <module>
from androguard.core.analysis.analysis import Analysis
androguard/core/analysis/analysis.py:5: in <module>
from androguard.core.androconf import is_ascii_problem,
load_api_specific_resource_module
androguard/core/androconf.py:5: in <module>
from colorama import init, Fore
E ModuleNotFoundError: No module named 'colorama'
______ ERROR collecting .pybuild/cpython3_3.12/build/tests/test_rename.py ______
ImportError while importing test module
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/test_rename.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/test_rename.py:2: in <module>
from androguard.core.bytecodes import dvm
androguard/core/bytecodes/dvm.py:13: in <module>
from androguard.core import bytecode
androguard/core/bytecode.py:8: in <module>
from androguard.core.androconf import CONF, color_range
androguard/core/androconf.py:5: in <module>
from colorama import init, Fore
E ModuleNotFoundError: No module named 'colorama'
_____ ERROR collecting .pybuild/cpython3_3.12/build/tests/test_session.py ______
ImportError while importing test module
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/test_session.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/test_session.py:4: in <module>
from androguard.core.bytecodes.apk import APK
androguard/core/bytecodes/apk.py:1: in <module>
from androguard.core import androconf
androguard/core/androconf.py:5: in <module>
from colorama import init, Fore
E ModuleNotFoundError: No module named 'colorama'
_____ ERROR collecting .pybuild/cpython3_3.12/build/tests/test_strings.py ______
ImportError while importing test module
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/test_strings.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/test_strings.py:7: in <module>
from androguard.core.bytecodes import dvm
androguard/core/bytecodes/dvm.py:13: in <module>
from androguard.core import bytecode
androguard/core/bytecode.py:8: in <module>
from androguard.core.androconf import CONF, color_range
androguard/core/androconf.py:5: in <module>
from colorama import init, Fore
E ModuleNotFoundError: No module named 'colorama'
______ ERROR collecting .pybuild/cpython3_3.12/build/tests/test_types.py _______
ImportError while importing test module
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/test_types.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/test_types.py:25: in <module>
from androguard.session import Session
androguard/session.py:5: in <module>
from androguard.core.analysis.analysis import Analysis
androguard/core/analysis/analysis.py:5: in <module>
from androguard.core.androconf import is_ascii_problem,
load_api_specific_resource_module
androguard/core/androconf.py:5: in <module>
from colorama import init, Fore
E ModuleNotFoundError: No module named 'colorama'
=============================== warnings summary ===============================
androguard/core/bytecodes/apk.py:1027
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/androguard/core/bytecodes/apk.py:1027:
SyntaxWarning: invalid escape sequence '\>'
"""
tests/test_entry_points.py:4
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/test_entry_points.py:4:
DeprecationWarning: pkg_resources is deprecated as an API. See
https://setuptools.pypa.io/en/latest/pkg_resources.html
from pkg_resources import resource_filename
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
ERROR tests/test_analysis.py
ERROR tests/test_annotations.py
ERROR tests/test_apk.py
ERROR tests/test_arsc.py
ERROR tests/test_axml.py
ERROR tests/test_decompiler.py
ERROR tests/test_decompilerjadx.py
ERROR tests/test_dex.py
ERROR tests/test_dexcodeparsing.py
ERROR tests/test_entry_points.py
ERROR tests/test_misc.py
ERROR tests/test_rename.py
ERROR tests/test_session.py
ERROR tests/test_strings.py
ERROR tests/test_types.py
!!!!!!!!!!!!!!!!!!! Interrupted: 15 errors during collection !!!!!!!!!!!!!!!!!!!
======================== 2 warnings, 15 errors in 0.97s ========================
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=2: cd
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build'; python3.12 -m pytest tests
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.13
3.12" returned exit code 13
make: *** [debian/rules:7: 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/202501/
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:androguard, so that this is still
visible in the BTS web page for this package.
Thanks.