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: 1451
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
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2728
Location: Here and Away Again

PostPosted: Sat Nov 09, 2024 11:36 am    Post subject: Re: how to get rid of old python? [SOLVED] Reply with quote

ExecutorElassus wrote:
UPDATE: adding the --changed-use flag, ie, 'emerge -NuD world' resolved the issues and remerged everything needed.

Just a note on that: '--changed-use' would be '-U' while '-N' is for '--newuse'. :]

Either one would probably have helped here in any case, with 'newuse' possibly causing some unnecessary re-builds.
_________________
Kindest of regardses.
Back to top
View user's profile Send private message
ExecutorElassus
Veteran
Veteran


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

PostPosted: Sat Nov 09, 2024 11:54 am    Post subject: Reply with quote

haha, whoops. It's been awhile since I've used either flag. Thanks for the correction!
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