View previous topic :: View next topic |
Author |
Message |
equaeghe l33t
Joined: 22 Feb 2005 Posts: 653
|
Posted: Wed Jan 26, 2022 8:28 am Post subject: [solved] Why does portage want to emerge unstable pydot? |
|
|
I have dev-python/pydot in a set file. The stable version 1.4.2-r1 is installed. Today, portage wants to install the unstable version 1.4.2-r3. I have no clue why. equery confirms pydot is only installed due to being in that set file and no other mention is made in my /etc/portage folder. What could be the reason for this?
Last edited by equaeghe on Wed Jan 26, 2022 8:29 pm; edited 1 time in total |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31441 Location: here
|
Posted: Wed Jan 26, 2022 8:42 am Post subject: |
|
|
Can you post emerge -uUDpt @world output? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
equaeghe l33t
Joined: 22 Feb 2005 Posts: 653
|
Posted: Wed Jan 26, 2022 10:53 am Post subject: |
|
|
fedeliallalinea wrote: | Can you post emerge -uUDpt @world output? |
Great suggestion to use the -t option:
Code: | ~ # emerge -uUDpt @world
These are the packages that would be merged, in reverse order:
Calculating dependencies... done!
[ebuild U ~] dev-python/pydot-1.4.2-r3 [1.4.2-r1]
[ebuild U ] dev-python/pyparsing-3.0.6 [2.4.7-r1] USE="-test%"
WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:
dev-python/docutils:0
(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:0/0::gentoo, installed) USE="-doc -latex -test" ABI_X86="(64)" PYTHON_TARGETS="python3_9 (-pypy3) -python3_10 -pyth
on3_8"
^ ^^^^
dev-python/tomli:0
(dev-python/tomli-2.0.0:0/0::gentoo, ebuild scheduled for merge) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_9 (-pypy3) -python3_10 -python3_8" conflicts with
<dev-python/tomli-2[python_targets_python3_9(-)] required by (dev-python/black-21.12_beta0:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_9 -python3_10 -python3_8"
^ ^
The following keyword changes are necessary to proceed:
(see "package.accept_keywords" in the portage(5) man page for more details)
# required by @deeprob-kit
# required by @selected
# required by @world (argument)
>=dev-python/pydot-1.4.2-r3 ~amd64
~ # eix pyparsing
[U] dev-python/pyparsing
Available versions: 2.4.7-r1 3.0.6^t ~3.0.7^t {examples test PYTHON_TARGETS="pypy3 python3_8 python3_9 python3_10"}
Installed versions: 2.4.7-r1(10:59:48 PM 06/01/2021)(-examples PYTHON_TARGETS="python3_9 -pypy3 -python3_8 -python3_10")
Homepage: https://github.com/pyparsing/pyparsing https://pypi.org/project/pyparsing/
Description: Easy-to-use Python module for text parsing
~ # eix pydot
[I] dev-python/pydot
Available versions: 1.4.2-r1^t ~1.4.2-r3^t {test PYTHON_TARGETS="python3_8 python3_9 python3_10"}
Installed versions: 1.4.2-r1^t(11:04:02 PM 12/03/2021)(-test PYTHON_TARGETS="python3_9 -python3_8 -python3_10")
Homepage: https://github.com/pydot/pydot https://pypi.org/project/pydot/
Description: Python interface to Graphviz's Dot language |
While this seems to point to pyparsing, when I look in its ebuild file, I see no dependency on pydot. |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 23059
|
Posted: Wed Jan 26, 2022 4:29 pm Post subject: |
|
|
equaeghe wrote: | Great suggestion to use the -t option: Code: | ~ # emerge -uUDpt @world | While this seems to point to pyparsing, when I look in its ebuild file, I see no dependency on pydot. | You're reading it backwards: equaeghe wrote: | Code: | These are the packages that would be merged, in reverse order: |
| Note the reverse order part. That is a side effect of --tree. pydot needs pyparsing, and the newer pydot no longer constrains you to use an old pyparsing, so Portage updates pyparsing because you asked for a deep update of world. equaeghe wrote: | Code: | The following keyword changes are necessary to proceed:
(see "package.accept_keywords" in the portage(5) man page for more details)
# required by @deeprob-kit
# required by @selected
# required by @world (argument)
>=dev-python/pydot-1.4.2-r3 ~amd64 |
| What exactly is in the set file? What is the output of emerge --pretend --verbose '=dev-python/pydot-1.4.2-r1'? |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31441 Location: here
|
Posted: Wed Jan 26, 2022 4:53 pm Post subject: |
|
|
Ok dev-python/pydot-1.4.2-r1 require <dev-python/pyparsing-3 and probably pyparsing-3 is required by another package.
The dev-python/pydot-1.4.2-r3 apply a patch to compile with pyparsing-3, so umask this version. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
ulenrich Veteran
Joined: 10 Oct 2010 Posts: 1483
|
Posted: Wed Jan 26, 2022 6:23 pm Post subject: |
|
|
Please help your portage resolution a bit
in /etc/portage/package.accept_keywords:
dev-python/black ~amd64
in /etc/portage/package.mask:
>=dev-python/docutils-0.18 # sphinx
>=dev-python/mistune-2.0.1 # m2r |
|
Back to top |
|
|
equaeghe l33t
Joined: 22 Feb 2005 Posts: 653
|
Posted: Wed Jan 26, 2022 8:28 pm Post subject: |
|
|
fedeliallalinea wrote: | Ok dev-python/pydot-1.4.2-r1 require <dev-python/pyparsing-3 and probably pyparsing-3 is required by another package.
The dev-python/pydot-1.4.2-r3 apply a patch to compile with pyparsing-3, so umask this version. |
OK, thanks! |
|
Back to top |
|
|
|