with python3.10 and USE=doc, compilation fails with Running Sphinx v4.3.2 making output directory... done building [mo]: targets for 0 po files that are out of date building [html]: targets for 26 source files that are out of date updating environment: [new config] 26 added, 0 changed, 0 removed reading sources... [ 3%] docs/api reading sources... [ 7%] docs/authors reading sources... [ 11%] docs/changelog Extension error: Handler <function source_read at 0x7fce367c6050> for event 'source-read' threw an exception (exception: [Errno 2] No such file or directory: '../CHANGES') Reading the log, python3.8 and python3.9 don't have this issue. Reproducible: Always
> Reading the log, python3.8 and python3.9 don't have this issue. Sorry, this was a misread. It failed outright on python3.10 compile stage and didn't even reach to 3.8 or 3.9.
Created attachment 760953 [details] pygments-2.11.0:20220101-082108.log
Created attachment 760954 [details] emerge.info
*** Bug 830398 has been marked as a duplicate of this bug. ***
Having the same problem here.
With version 2.11.2: Handler <function source_read at 0x7fd5fcbb0550> for event 'source-read' threw an exception (exception: [Errno 2] No such file or directory: '../CHANGES')
The dev-python/pygments-2.11.2 is still affected.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0577a6852cfd6d5e641d0f29d1e8a8b695c4961 commit e0577a6852cfd6d5e641d0f29d1e8a8b695c4961 Author: Arthur Zamarin <arthurzam@gentoo.org> AuthorDate: 2022-04-24 17:21:27 +0000 Commit: Arthur Zamarin <arthurzam@gentoo.org> CommitDate: 2022-04-24 17:23:07 +0000 dev-python/pygments: fix doc generation Closes: https://bugs.gentoo.org/830364 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> .../files/pygments-2.11.2-fix-docs-relative.patch | 26 ++++++++++++++++++++++ dev-python/pygments/pygments-2.11.2.ebuild | 4 ++++ 2 files changed, 30 insertions(+)