Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
python3_11 entgültig loswerden
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Erdie
Advocate
Advocate


Joined: 20 May 2004
Posts: 2606
Location: Heidelberg - Germany

PostPosted: Sun Jun 30, 2024 3:28 pm    Post subject: python3_11 entgültig loswerden Reply with quote

Mein package.use/python sieht jetzt folgendermaßen aus:

Code:

dev-lang/python tk

*/* PYTHON_TARGETS: -* python3_12
*/* PYTHON_SINGLE_TARGET: -* python3_12


Meines Erachtens sollte es keine Anhängigkeiten mehr zu python2_11 geben. Dennoch löscht --depclean nichts dergleichen.

Ich habe es zusätzlich noch mir diesem Befehl versucht:

Code:

comm -23 <(equery -q hasuse python_targets_python3_11 | sort) <(equery -q hasuse python_targets_python3_12 | sort)


Es ergibt sich keine Ausgabe. Mein Verdacht, dass das was in der world Datei steht, hat sich nicht bestätigt.

Code:

kellerkind ~ # cat /var/lib/portage/world | grep python
app-eselect/eselect-python
dev-python/PyQt5
dev-python/pip
dev-python/pyserial


Was kann man noch tun um herauszufinden, warum python3_11 nicht von depclean gelöscht wird?
_________________
Desktop AMD Ryzen 9 5900X 32GB RAM, Asus GF GTX 1060.
Notebook Tuxedo Pulse 15 Gen1 AMD Ryzen 7 4800H mit Radeon Vega 7
Raspberry Pi 1 + 2 + 3B+ + Zero W
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5256

PostPosted: Sun Jun 30, 2024 5:12 pm    Post subject: Reply with quote

Du hast vergessen das es auch python single target gibt. Bzw. Das manche pakte explizit python 3.11 in den deps haben ohne die PYTHON_TARGET/PYTHON_SINGLE_TARGET features zu nutzen.
Und bei der Umstellung auf python 3.12 hast du bestimmt doch ein paar pakete mit PYTHON_SINGLE_TARGET=python3_11 in package.use eintragen müssen.

Ansonsten sollte folgender befehl dir alle pakete liefern, welche python 3.11 brauchen:
Code:
emerge -cpv python:3.11

_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
Erdie
Advocate
Advocate


Joined: 20 May 2004
Posts: 2606
Location: Heidelberg - Germany

PostPosted: Sun Jun 30, 2024 7:13 pm    Post subject: Reply with quote

Code:

emerge -cpv python:3.11

Calculating dependencies... done!
  dev-lang/python-3.11.9-r1 pulled in by:
    net-libs/nodejs-20.12.1 requires dev-lang/python:3.11[threads(+)]
    www-client/firefox-115.12.0 requires dev-lang/python:3.11[ncurses,sqlite,ssl]


Es ist nicht mehr viel übrig.
_________________
Desktop AMD Ryzen 9 5900X 32GB RAM, Asus GF GTX 1060.
Notebook Tuxedo Pulse 15 Gen1 AMD Ryzen 7 4800H mit Radeon Vega 7
Raspberry Pi 1 + 2 + 3B+ + Zero W
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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