Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Why does portage want to emerge unstable pydot?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
equaeghe
l33t
l33t


Joined: 22 Feb 2005
Posts: 653

PostPosted: Wed Jan 26, 2022 8:28 am    Post subject: [solved] Why does portage want to emerge unstable pydot? Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31441
Location: here

PostPosted: Wed Jan 26, 2022 8:42 am    Post subject: Reply with quote

Can you post emerge -uUDpt @world output?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
equaeghe
l33t
l33t


Joined: 22 Feb 2005
Posts: 653

PostPosted: Wed Jan 26, 2022 10:53 am    Post subject: Reply with quote

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
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23059

PostPosted: Wed Jan 26, 2022 4:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31441
Location: here

PostPosted: Wed Jan 26, 2022 4:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
ulenrich
Veteran
Veteran


Joined: 10 Oct 2010
Posts: 1483

PostPosted: Wed Jan 26, 2022 6:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
equaeghe
l33t
l33t


Joined: 22 Feb 2005
Posts: 653

PostPosted: Wed Jan 26, 2022 8:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum