Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how to get rid of old python? [SOLVED]
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
ExecutorElassus
Veteran
Veteran


Joined: 11 Mar 2004
Posts: 1450
Location: Berlin, Germany

PostPosted: Fri Nov 08, 2024 7:33 pm    Post subject: how to get rid of old python? [SOLVED] Reply with quote

So, I'm trying to get rid of python-3.10. I can't get rid of python-3.8 yet, because python-poppler-qt5 still depends on it, and frescobaldi (a music-notation IDE) still depends on *that*.

But python-3.10, theoretically, I can remove. However, when I change the 'PYTHON_TARGETS:' line in my package.use to the following:
Code:
*/* PYTHON_TARGETS: -*  python3_11 python3_12 python3_13

where previously the last item on the list was python3_10, I get a whole bunch of emerge errors like this one:
Code:
dev-python/jaraco-context:0

  (dev-python/jaraco-context-6.0.1:0/0::gentoo, ebuild scheduled for merge) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_11 python3_12 python3_13 -pypy3 -python3_10 -python3_13t" pulled in by
    dev-python/jaraco-context (Argument)
    >=dev-python/jaraco-context-4.1.1-r1[python_targets_pypy3(-)?,python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?,python_targets_python3_13(-)?,python_targets_python3_13t(-)?] required by (dev-python/jaraco-text-4.0.0:0/0::gentoo, ebuild scheduled for merge) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_11 python3_12 python3_13 -pypy3 -python3_10 -python3_13t"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 

  (dev-python/jaraco-context-6.0.1:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_10 python3_11 python3_12 -pypy3 -python3_13" pulled in by
    >=dev-python/jaraco-context-4.1.1-r1[python_targets_pypy3(-)?,python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?,python_targets_python3_13(-)?,python_targets_python3_13t(-)?] required by (dev-python/jaraco-text-4.0.0:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_10 python3_11 python3_12 -pypy3 -python3_13"


But adding jaraco-text to the list to emerge doesn't help. So how do I resolve this?

Cripes, I hate resolving python version-dependency conflicts :(

UPDATE: adding the --changed-use flag, ie, 'emerge -NuD world' resolved the issues and remerged everything needed. Sorry for the trouble :(

Cheers,

EE
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