| Summary: | dev-python/pygments-2.11.0: missing deps on dev-python/lxml with USE=doc and test enabled | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Alex Fan <alex.fan.q> |
| Component: | Current packages | Assignee: | Python Gentoo Team <python> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | mgorny |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
pygments-2.11.0:20211231-221812.log
emerge.info |
||
Created attachment 760951 [details]
pygments-2.11.0:20211231-221812.log
build.log
Created attachment 760952 [details]
emerge.info
*** This bug has been marked as a duplicate of bug 830334 *** |
With USE=doc and test enabled, it fails to build on amd64 with tests/test_html_formatter_linenos_elements.py ___________________________ ImportError while importing test module '/var/tmp/portage/dev-python/pygments-2.11.0/work/Pygments-2.11.0/tests/test_html_formatter_linenos_elements.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/pypy3.8/site-packages/_pytest/python.py:578: in _importtestmodule mod = import_path(self.fspath, mode=importmode) /usr/lib/pypy3.8/site-packages/_pytest/pathlib.py:524: in import_path importlib.import_module(module_name) /usr/lib/pypy3.8/importlib/__init__.py:127: in import_module return _bootstrap._gcd_import(name[level:], package, level) <frozen importlib._bootstrap>:1023: in _gcd_import ??? <frozen importlib._bootstrap>:1000: in _find_and_load ??? <frozen importlib._bootstrap>:984: in _find_and_load_unlocked ??? <frozen importlib._bootstrap>:680: in _load_unlocked ??? /usr/lib/pypy3.8/site-packages/_pytest/assertion/rewrite.py:170: in exec_module exec(co, module.__dict__) tests/test_html_formatter_linenos_elements.py:9: in <module> from .support import structural_diff tests/support/structural_diff.py:1: in <module> import lxml.html E ModuleNotFoundError: No module named 'lxml' Reproducible: Always