community/gcovr: missing colorlog dependency
Package Information
- Package name: gcovr
- Package version: 7.2-r1
- Alpine version: 3.20.0_alpha20240329
- Alpine architecture: x86_64
Summary
Running gcovr
results in:
Traceback (most recent call last):
File "/usr/bin/gcovr", line 33, in <module>
sys.exit(load_entry_point('gcovr==7.2', 'console_scripts', 'gcovr')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/bin/gcovr", line 25, in importlib_load_entry_point
return next(matches).load()
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 205, in load
module = import_module(match.group('module'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/importlib/__init__.py", line 90, 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 995, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "/usr/lib/python3.12/site-packages/gcovr/__main__.py", line 34, in <module>
from .configuration import (
File "/usr/lib/python3.12/site-packages/gcovr/configuration.py", line 31, in <module>
from . import formats
File "/usr/lib/python3.12/site-packages/gcovr/formats/__init__.py", line 25, in <module>
from ..coverage import CovData
File "/usr/lib/python3.12/site-packages/gcovr/coverage.py", line 45, in <module>
from .utils import commonpath, force_unix_separator
File "/usr/lib/python3.12/site-packages/gcovr/utils.py", line 31, in <module>
from colorlog import ColoredFormatter
ModuleNotFoundError: No module named 'colorlog'
Steps to reproduce
apk add gcovr
gcovr