Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 829842

Summary: dev-python/sphinx: requires <docutils-0.18
Product: Gentoo Linux Reporter: John Helmert III <ajak>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal CC: alessandro.calori, axiator, ecyoung, fedeliallalinea, gentoo, hayley, i, krishnagopi487, luke, main.haarp, mbucas, mgorny, pacho, pageexec, pavel, prote, ran.dall, rzubaly, sam, samurai.no.dojo, simon.vanderveldt+gentoo, stevee, trekie, weber, Xeha, yesi
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/sphinx-doc/sphinx/issues/9777
See Also: https://bugs.gentoo.org/show_bug.cgi?id=802618
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 722500    

Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2021-12-22 22:40:14 UTC
We don't seem to have a Gentoo bug for this yet.

The docutils dependency in Sphinx is "<dev-python/docutils-0.18". This leads to a rather confusing message when emerging:

  (dev-python/docutils-0.18.1:0/0::gentoo, ebuild scheduled for merge) USE="" ABI_X86="(64)" PYTHON_TARGETS="python3_9 -pypy3 -python3_10 -python3_8" conflicts with
    <dev-python/docutils-0.18[python_targets_python3_9(-)] required by (dev-python/sphinx-4.3.2-1:0/0::gentoo, binary scheduled for merge) USE="-doc -latex -test" ABI_X86="(64)" PYTHON_TARGETS="python3_9 -pypy3 -python3_10 -python3_8"
    ^                    ^^^^

This is strictly an informational message from Portage, because it cannot upgrade docutils while Sphinx requires an older docutils. The upstream issue is at URL, and it seems the update on Sphinx's end is slated for 4.4.0.
Comment 1 Marco Genasci 2021-12-23 07:25:47 UTC
Upstream explanation [1]

[1] https://github.com/sphinx-doc/sphinx/issues/9936#issuecomment-986017551
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-12-27 23:25:03 UTC
*** Bug 830131 has been marked as a duplicate of this bug. ***
Comment 3 Mike Limansky 2022-01-01 13:05:13 UTC
Here is the actual ticket https://github.com/sphinx-doc/sphinx/issues/9777
Comment 4 Mike Limansky 2022-01-24 08:53:16 UTC
Sphinx 4.4.0 with docutils 0.18 was released. https://www.sphinx-doc.org/en/master/changes.html
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-01-24 10:25:44 UTC
(In reply to Mike Limansky from comment #4)
> Sphinx 4.4.0 with docutils 0.18 was released.
> https://www.sphinx-doc.org/en/master/changes.html

Where do you see that?  It still has <0.18.
Comment 6 Marco Genasci 2022-01-24 10:31:06 UTC
This change is currently planned for version 4.5.0 [1].

[1] https://github.com/sphinx-doc/sphinx/milestone/120
Comment 7 Mike Limansky 2022-01-24 14:04:20 UTC
Oh, sorry, I missed when they changed target release.
Comment 8 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-01-29 22:37:21 UTC
*** Bug 832349 has been marked as a duplicate of this bug. ***
Comment 9 Matt Whitlock 2022-03-30 18:56:30 UTC
Sadly, this is now targeted for 5.0.0. :(
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-04-16 17:14:31 UTC
*** Bug 829252 has been marked as a duplicate of this bug. ***
Comment 11 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-05-02 16:25:33 UTC
Upstream PR was merged: https://github.com/sphinx-doc/sphinx/pull/10164
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-31 07:45:15 UTC
and 5.0.0 sphinx is now in tree.
Comment 13 Anard 2022-08-15 07:46:13 UTC
(In reply to Sam James from comment #12)
> and 5.0.0 sphinx is now in tree.

I've still this issue with >sphinx-5 :

WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:

dev-python/docutils:0

  (dev-python/docutils-0.19:0/0::gentoo, ebuild scheduled for merge) USE="" ABI_X86="(64)" PYTHON_TARGETS="python3_10 python3_9 (-pypy3) (-python3_11) -python3_8" conflicts with
    <dev-python/docutils-0.19[python_targets_python3_9(-),python_targets_python3_10(-)] required by (dev-python/sphinx-5.0.2:0/0::gentoo, installed) USE="-doc -latex -test" ABI_X86="(64)" PYTHON_TARGETS="python3_10 python3_9 (-pypy3) (-python3_11) -python3_8"
$ eix dev-python/sphinx
[I] dev-python/sphinx
     Available versions:  4.5.0-r1^t 5.0.2^t ~5.1.0^t ~5.1.1^t {doc latex test PYTHON_TARGETS="pypy3 python3_8 python3_9 python3_10 python3_11"}
     Installed versions:  5.0.2^t(09:08:44 10/07/2022)(-doc -latex -test PYTHON_TARGETS="python3_9 python3_10 -pypy3 -python3_8 -python3_11")
     Homepage:            https://www.sphinx-doc.org/ https://github.com/sphinx-doc/sphinx/ https://pypi.org/project/Sphinx/
     Description:         Python documentation generator
Comment 14 Andrey Aleksandrovich 2022-08-18 19:07:21 UTC
Same here:

WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:

dev-python/docutils:0

  (dev-python/docutils-0.19:0/0::gentoo, ebuild scheduled for merge) USE="" ABI_X86="(64)" PYTHON_TARGETS="python3_10 (-pypy3) (-python3_11) -python3_8 -python3_9" conflicts with
    <dev-python/docutils-0.19[python_targets_python3_10(-)] required by (dev-python/sphinx-5.0.2:0/0::gentoo, installed) USE="-doc -latex -test" ABI_X86="(64)" PYTHON_TARGETS="python3_10 (-pypy3) (-python3_11) -python3_8 -python3_9"
Comment 15 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-08-18 19:12:06 UTC
The new "error" is different -- it's docutils *0.19*. The same explanation as above apply.
Comment 16 Andrey Aleksandrovich 2022-08-18 19:41:35 UTC
Stable is dev-python/sphinx-5.0.2 and it requires <dev-python/docutils-0.19
But dev-python/docutils-0.19 is now stable too.
So, we need to stabilize at least dev-python/sphinx-5.1.0 ?
Comment 17 Xi 2023-07-21 10:33:32 UTC
Hi all,

`dev-python/sphinx-5.3.0` locks `dev-python/docutils` to version 0.19. What is the current status for sphinx 6 and 7?

Thanks