Mailing List Archive

dev-python/docutils weird blockage
I hadn't updated a Lenovo laptop for a while, so I ended up with 269
packages to (re)build, which actually went OK. In addition there was
one package skipped due to a dependancy conflict...

#################################################################
[thimk2][root][~] emerge -pv --changed-use --deep --update @world

These are the packages that would be merged, in order:

Calculating dependencies... done!

Total: 0 packages, Size of downloads: 0 KiB

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="" 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" PYTHON_TARGETS="python3_10 (-pypy3) (-python3_11) -python3_8 -python3_9"
^ ^^^^
#################################################################

I don't understand it. To help with the diagnostics I went
full-screen and a bit smaller font. The error message appears to target
the phrase "<dev-python/docutils-0.19" at the start of the final line.
The "^" appears under the "<", at the start of the line. The "<" is
highlighted in red. The "^^^^" appears under the "0.19". The "0.19" is
also highlighted in red. Any ideas?

--
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications
Re: dev-python/docutils weird blockage [ In reply to ]
On 2022.08.16 15:41, Walter Dnes wrote:
> I hadn't updated a Lenovo laptop for a while, so I ended up with 269
> packages to (re)build, which actually went OK. In addition there was
> one package skipped due to a dependancy conflict...
>
> #################################################################
> [thimk2][root][~] emerge -pv --changed-use --deep --update @world
>
> These are the packages that would be merged, in order:
>
> Calculating dependencies... done!
>
> Total: 0 packages, Size of downloads: 0 KiB
>
> 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="" 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" PYTHON_TARGETS="python3_10 (-pypy3) (-python3_11) -python3_8
> -python3_9"
> ^ ^^^^
> #################################################################
>
> I don't understand it. To help with the diagnostics I went
> full-screen and a bit smaller font. The error message appears to
> target
> the phrase "<dev-python/docutils-0.19" at the start of the final line.
> The "^" appears under the "<", at the start of the line. The "<" is
> highlighted in red. The "^^^^" appears under the "0.19". The "0.19"
> is
> also highlighted in red. Any ideas?
This one is actually pretty straightforward. You have
dev-python/sphinx-5.0.2 installed which requires a version of
dev-python/docutils LESS THAN 0.19. I suspect you were looking for
conflicts in the USE flags, where there aren't any (that I see.) It
looks like you either need to downgrade docutils or accept (at least
temporarily) a testing version of sphinx.

Jack
Re: dev-python/docutils weird blockage [ In reply to ]
On 16/08/2022 21:05, Jack wrote:
>>
> This one is actually pretty straightforward.  You have
> dev-python/sphinx-5.0.2 installed which requires a version of
> dev-python/docutils LESS THAN 0.19.  I suspect you were looking for
> conflicts in the USE flags, where there aren't any (that I see.)   It
> looks like you either need to downgrade docutils or accept (at least
> temporarily) a testing version of sphinx.

Don't you mean "accept temporarily that you can't upgrade docutils"? It
reads to me there's no need to downgrade because the upgrade has been
skipped.

The other point is, does the OP want both docutils and sphinx in their
world set? Because if docutils is not in the world set, why is emerge
trying to update it? If the OP is not using docutils directly, only via
sphinx, surely removing it from the world set will make this conflict go
away?

Cheers,
Wol
Re: dev-python/docutils weird blockage [ In reply to ]
On 2022.08.16 16:16, Wols Lists wrote:
> On 16/08/2022 21:05, Jack wrote:
>>>
>> This one is actually pretty straightforward.? You have
>> dev-python/sphinx-5.0.2 installed which requires a version of
>> dev-python/docutils LESS THAN 0.19.? I suspect you were looking for
>> conflicts in the USE flags, where there aren't any (that I see.)??
>> It looks like you either need to downgrade docutils or accept (at
>> least temporarily) a testing version of sphinx.
>
> Don't you mean "accept temporarily that you can't upgrade docutils"?
> It reads to me there's no need to downgrade because the upgrade has
> been skipped.
Yes, sloppy wording on my part. I have docutils installed, but not
sphinx, and trying to install sphinx (stable) for me would require
downgrading docutils.
>
> The other point is, does the OP want both docutils and sphinx in
> their world set? Because if docutils is not in the world set, why is
> emerge trying to update it? If the OP is not using docutils directly,
> only via sphinx, surely removing it from the world set will make this
> conflict go away?
I agree.
>
> Cheers,
> Wol
Re: dev-python/docutils weird blockage [ In reply to ]
On Tue, Aug 16, 2022 at 03:41:48PM -0400, Walter Dnes wrote:
> 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="" 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" PYTHON_TARGETS="python3_10 (-pypy3) (-python3_11) -python3_8 -python3_9"
> ^ ^^^^

This is entirely fine to ignore, sphinx is just picky about docutils
version it can use lately. ~arch sphinx is <0.20 and will eventually
block an update for docutils-0.20 like this stable one does for 0.19
(so little meaning in using ~arch sphinx ahead of its stabilization).

At most only a problem if you actually need 0.19 for something.
--
ionen
Re: dev-python/docutils weird blockage [ In reply to ]
On Tue, Aug 16, 2022 at 06:37:25PM -0400, Ionen Wolkens wrote

> This is entirely fine to ignore, sphinx is just picky about docutils
> version it can use lately. ~arch sphinx is <0.20 and will eventually
> block an update for docutils-0.20 like this stable one does for 0.19
> (so little meaning in using ~arch sphinx ahead of its stabilization).
>
> At most only a problem if you actually need 0.19 for something.

I discovered 2 things today...

1) "USE=doc" appears to be the default system setting.

2) Entering "-doc" into the USE line in make.conf allows me to get rid
of sphinx entirely.

Problem solved and 19 modules/binaries removed off the laptop. I call
that a win. I've entered "-doc" into the USE line in make.conf on my
desktop PC. Next time I "update @world", I'll do the necessary dicking
around to get rid of sphinx on my desktop.

--
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications