[Pkg-bazaar-maint] Bug#1022140: loggerhead: autopkgtest regression: No module named 'pygments'
Sergio Durigan Junior
sergiodj at debian.org
Thu Oct 20 23:42:53 BST 2022
Source: loggerhead
Version: 2.0.0-2
Severity: serious
Hi,
Ubuntu's loggerhead package is experiencing an autopkgtest failure due
to a missing test dependency:
--8<---------------cut here---------------start------------->8---
======================================================================
ERROR: test_highlight (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: test_highlight
Traceback (most recent call last):
File "/usr/lib/python3.10/unittest/loader.py", line 154, in loadTestsFromName
module = __import__(module_name)
File "/tmp/autopkgtest.ogMCRY/build.rMc/src/loggerhead/tests/test_highlight.py", line 19, in <module>
from ..highlight import highlight
File "/tmp/autopkgtest.ogMCRY/build.rMc/src/loggerhead/highlight.py", line 22, in <module>
from pygments import highlight as _highlight_func
ModuleNotFoundError: No module named 'pygments'
--8<---------------cut here---------------end--------------->8---
This can be easily solved by listing python3-pygments in the d/t/control
file.
Thanks,
--
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF 31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
https://sergiodj.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-bazaar-maint/attachments/20221020/a6fdd176/attachment.sig>
More information about the Pkg-bazaar-maint
mailing list