dev-tex/pythontex-0.16 fails at runtime with "ImportError: No module named pygments.styles" if dev-python/pygments isn't installed. Note that, according to the ebuild, USE=highlighting will pull pygments, so, in order to reproduce this, one must emerge pythontex with USE=-highlighting on a system without pygments. After this, executing pythontex.py with no arguments is enough to trigger the error message.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58d160337c973b698f74c671bd7e36e672596066 commit 58d160337c973b698f74c671bd7e36e672596066 Author: Andrey Grozin <grozin@gentoo.org> AuthorDate: 2019-08-06 09:44:45 +0000 Commit: Andrey Grozin <grozin@gentoo.org> CommitDate: 2019-08-06 09:45:45 +0000 dev-tex/pythontex: RDEPEND on dev-python/pygments always Closes: https://bugs.gentoo.org/show_bug.cgi?id=691386 Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: Andrey Grozin <grozin@gentoo.org> dev-tex/pythontex/pythontex-0.16.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)