Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't emerge dev-python/jupyter
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
jody
l33t
l33t


Joined: 16 Oct 2007
Posts: 668
Location: Switzerland

PostPosted: Wed May 10, 2023 1:21 pm    Post subject: Can't emerge dev-python/jupyter Reply with quote

When i want to emerge dev-python/jupyter, i get the message
Code:
!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:
dev-python/cffi:0

  (dev-python/cffi-1.15.1-r2:0/1.15.1::gentoo, ebuild scheduled for merge) USE="-debug -doc -test" ABI_X86="(64)" PYTHON_TARGETS="python3_11 -python3_10" pulled in by
    dev-python/cffi[python_targets_python3_10(-)?,python_targets_python3_11(-)?] required by (dev-python/argon2-cffi-bindings-21.2.0-r1:0/0::gentoo, ebuild scheduled for merge) USE="-debug -test" ABI_X86="(64)" CPU_FLAGS_X86="sse2" PYTHON_TARGETS="python3_11 (-pypy3) -python3_10"
                                                                                                                                                                                                                                                                                         
    >=dev-python/cffi-1.1.0:=[python_targets_python3_10(-)?,python_targets_python3_11(-)?] required by (dev-python/cairocffi-1.5.1:0/0::gentoo, ebuild scheduled for merge) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_11 (-pypy3) -python3_10"
                                                                                                                                                                                                                                                       
    >=dev-python/cffi-1.1:=[python_targets_python3_10(-)?,python_targets_python3_11(-)?] required by (dev-python/xcffib-1.2.0:0/0::gentoo, ebuild scheduled for merge) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_11 (-pypy3) -python3_10"
                                                                                                                                                                                                                                                   
    >=dev-python/cffi-1.8:=[python_targets_python3_10(-)?,python_targets_python3_11(-)?] required by (dev-python/cryptography-40.0.1:0/0::gentoo, ebuild scheduled for merge) USE="-debug -test" ABI_X86="(64)" PYTHON_TARGETS="python3_11 (-pypy3) -python3_10"
                                                                                                                                                                                                                                                                 

  (dev-python/cffi-1.15.1-r2:0/1.15.1::gentoo, installed) USE="-debug -doc -test" ABI_X86="(64)" PYTHON_TARGETS="python3_10 -python3_11 -python3_9" pulled in by
    dev-python/cffi[python_targets_python3_10(-)?,python_targets_python3_11(-)?] required by (virtual/python-cffi-1:0/0::gentoo, installed) USE="" ABI_X86="(64)" PYTHON_TARGETS="python3_10 (-pypy3) -python3_11 -python3_9"
                                                                                                                                                                                                                             

dev-python/pycparser:0

  (dev-python/pycparser-2.21-r2:0/0::gentoo, ebuild scheduled for merge) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_11 (-pypy3) -python3_10" pulled in by
    dev-python/pycparser[python_targets_python3_10(-)?,python_targets_python3_11(-)?] required by (dev-python/cffi-1.15.1-r2:0/1.15.1::gentoo, ebuild scheduled for merge) USE="-debug -doc -test" ABI_X86="(64)" PYTHON_TARGETS="python3_11 -python3_10"
(...)

There are about 1000 such conflict messages.

I suspect it has to do with the recent switch to pyton3_11.

Is there a possibility to solve these conflicts, or must i wait until things "return to normal"?


Last edited by jody on Wed May 10, 2023 2:26 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30923
Location: here

PostPosted: Wed May 10, 2023 1:29 pm    Post subject: Reply with quote

Can you post full emerge output and command you run?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21639

PostPosted: Wed May 10, 2023 2:57 pm    Post subject: Reply with quote

The banner comment describes the problem: conflicting requirements where one package wants a supporting package one way, and a different one wants it a different way. In this case, at a minimum, virtual/python-cffi wants dev-python/cffi[python_targets_python3_10], but dev-python/cryptography (among others) wants dev-python/cffi[python_targets_python3_11]. If you don't rebuild dev-python/cffi, then dev-python/cryptography is unsatisfied. If you do rebuild dev-python/cffi, then virtual/python-cffi is unsatisfied.

Completing the migration to Python 3.11 first will likely solve this problem.
Back to top
View user's profile Send private message
jody
l33t
l33t


Joined: 16 Oct 2007
Posts: 668
Location: Switzerland

PostPosted: Wed May 10, 2023 2:58 pm    Post subject: Reply with quote

The command i used:
Code:
 sudo emerge --ask dev-python/jupyter


The output i pasted to pastebin https://pastebin.com/ztyXg4AE
Back to top
View user's profile Send private message
jody
l33t
l33t


Joined: 16 Oct 2007
Posts: 668
Location: Switzerland

PostPosted: Wed May 10, 2023 3:12 pm    Post subject: Reply with quote

@Hu: Do you mean that the providers of the various packages need to migrate to 3.11?
As far as i can tell my machine has already migrated to python 3.11...
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1662

PostPosted: Wed May 10, 2023 4:41 pm    Post subject: Reply with quote

jody wrote:
@Hu: Do you mean that the providers of the various packages need to migrate to 3.11?
As far as i can tell my machine has already migrated to python 3.11...


Code:
[ebuild   R    ] dev-python/setuptools-67.6.1  PYTHON_TARGETS="python3_11* -python3_10*"

This line shows that the machine has not been fully updated to python 3.11 as the change is pending. setuptools is used by many many packages so a good gauge of status.

Complete the rebuild of @world (e.g. emerge -avDU @world as in the news article) before installing anything new.
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