Summary: | dev-python/sphinx-2.0.1[doc] missing dependency on dev-python/sphinxcontrib-websupport | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Chris Mayo <aklhfex> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | asturm, ilmostro7, jstein |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Chris Mayo
2019-04-12 18:17:16 UTC
USE="doc latex -test" PYTHON_TARGETS="python3_6 python3_7 -pypy3 -python3_5" Warning, treated as error: autodoc: failed to import method 'websupport.WebSupport.build' from module 'sphinxcontrib'; the following exception was raised: No module named 'sphinxcontrib.websupport' * ERROR: dev-python/sphinx-2.0.1::gentoo failed (compile phase): I wasn't able to emerge dev-python/sphinxcontrib-websupport because dev-python/sphinx[doc] was ordered to be built first. Error was fixed by running: emerge -1 --nodeps dev-python/sphinxcontrib-websupport Can a dev please add: doc? ( dev-python/sphinxcontrib-websupport[${PYTHON_USEDEP}] ) to RDEPEND? Created attachment 597572 [details]
build.log
I've run into this problem as well. However, installing dev-python/sphinxcontrib-websupport seems to prefer =dev-python/sphinx-1.7.5-r1. So, I'm not sure if the suggested patch would resolve the issue. (In reply to Jason Chan from comment #1) > Can a dev please add: > > doc? ( dev-python/sphinxcontrib-websupport[${PYTHON_USEDEP}] ) > > to RDEPEND? It should be a DEPEND as not RDEPEND as it is about generating the doc while emerging. Besides that I can confirm this solution works. (In reply to Amel Hodzic from comment #3) > I've run into this problem as well. However, installing > dev-python/sphinxcontrib-websupport seems to prefer > =dev-python/sphinx-1.7.5-r1. So, I'm not sure if the suggested patch would > resolve the issue. This is probably because you still have python 2.7 support enabled (still the default, but I have removed it as much as possible). dev-python/sphinxcontrib-websupport has python 2.7 support and hence need a dev-python/sphinx with python 2.7 support. However, sphinx-2.0.1 have removed that support. Therefore it pull in the older sphinx-1.7.5-r1 which have python 2.7 support. On my system, where I have mostly removed python 2.7 support, it pulls in sphinx-2.0.1 as you would expect. I have not checked if the sphinx-1.7.5 are missing a similar dependency. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=488343caa60ebacb1a4ba8a95498fe87263d120a commit 488343caa60ebacb1a4ba8a95498fe87263d120a Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2020-03-02 15:32:52 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2020-03-02 20:22:21 +0000 dev-python/sphinx: Bump to 2.4.3 Closes: https://bugs.gentoo.org/683194 Signed-off-by: Michał Górny <mgorny@gentoo.org> dev-python/sphinx/Manifest | 1 + dev-python/sphinx/sphinx-2.4.3.ebuild | 106 ++++++++++++++++++++++++++++++++++ 2 files changed, 107 insertions(+) |