Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
safe python3_12 upgrade gets stuck at cinnamon
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
koslowj
Tux's lil' helper
Tux's lil' helper


Joined: 15 Feb 2005
Posts: 100

PostPosted: Sun Jun 02, 2024 11:14 am    Post subject: safe python3_12 upgrade gets stuck at cinnamon Reply with quote

I'm trying to follow the safe upgrade procedure to python3_12 explained in one of the latest news items. The first step, emerge --deep --changed-use @world, with

Code:
    */* PYTHON_TARGETS: -* python3_11 python3_12
    */* PYTHON_SINGLE_TARGET: -* python3_11


in the file /etc/portage/package.use/python succeeds in rebuilding 110 packages. After changing just the single target to python3_12, however, I get an error message:

Code:
!!! The ebuild selected to satisfy "gnome-extra/cinnamon" has unmet requirements.
- gnome-extra/cinnamon-5.8.4::gentoo USE="eds gstreamer networkmanager nls -gtk-doc" ABI_X86="(64)" PYTHON_SINGLE_TARGET="-python3_10 -python3_11"

  The following REQUIRED_USE flag constraints are unsatisfied:
    exactly-one-of ( python_single_target_python3_10 python_single_target_python3_11 )

(dependency required by "@selected" [set])
(dependency required by "@world" [argument])

The command "eix cinnamon" results in
Code:

[I] gnome-extra/cinnamon
     Available versions:  5.8.4 ~6.0.4 {+desktop-portal +eds +gstreamer gtk-doc +networkmanager +nls wayland PYTHON_SINGLE_TARGET="python3_10 python3_11 python3_12"}
     Installed versions:  5.8.4(12:49:55 06/02/24)(eds gstreamer networkmanager nls -gtk-doc PYTHON_SINGLE_TARGET="python3_11 -python3_10")

[U] gnome-extra/cinnamon-control-center
     Available versions:  5.8.2^t ~6.0.0^t 6.0.0-r1^t {+colord gnome-online-accounts +modemmanager +networkmanager systemd test wayland INPUT_DEVICES="wacom"}
     Installed versions:  5.8.2^t(21:39:15 05/26/24)(colord modemmanager networkmanager -gnome-online-accounts -systemd -test INPUT_DEVICES="-wacom")

[I] gnome-extra/cinnamon-desktop
     Available versions:  5.8.0(0/4) 6.0.0(0/4) {systemd}
     Installed versions:  6.0.0(0/4)(10:00:10 06/02/24)(-systemd)

[U] gnome-extra/cinnamon-menus
     Available versions:  5.8.0 6.0.0 {gtk-doc}
     Installed versions:  5.8.0(19:11:45 05/26/24)(-gtk-doc)

[U] gnome-extra/cinnamon-screensaver
     Available versions:  5.8.1 6.0.3 {systemd xinerama PYTHON_SINGLE_TARGET="python3_10 python3_11 python3_12"}
     Installed versions:  5.8.1(21:38:36 05/26/24)(-systemd -xinerama PYTHON_SINGLE_TARGET="python3_11 -python3_10")

[I] gnome-extra/cinnamon-session
     Available versions:  5.8.1 6.0.2 {systemd PYTHON_SINGLE_TARGET="python3_10 python3_11 python3_12"}
     Installed versions:  6.0.2(10:03:36 06/02/24)(-systemd PYTHON_SINGLE_TARGET="python3_11 -python3_10 -python3_12")

[U] gnome-extra/cinnamon-settings-daemon
     Available versions:  5.8.1 ~6.0.0 6.0.0-r1 {+colord cups smartcard systemd wayland INPUT_DEVICES="wacom"}
     Installed versions:  5.8.1(21:30:01 05/26/24)(colord cups -smartcard -systemd INPUT_DEVICES="-wacom")

[U] gnome-extra/cinnamon-translations
     Available versions:  5.8.2 6.0.2
     Installed versions:  5.8.2(19:09:01 05/26/24)

What's the best way to proceed? I'm running a 6.6.30 kernel for x86_64.

[Administrator edit: added [code] tags to preserve output layout. -Hu]
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2422

PostPosted: Sun Jun 02, 2024 12:36 pm    Post subject: Re: safe python3_12 upgrade gets stuck at cinnamon Reply with quote

koslowj wrote:

in the file /etc/portage/package.use/python succeeds in rebuilding 110 packages. After changing just the single target to python3_12, however, I get an error message:


If you have even one package that does not support 3.12 as a single target, you cannot do that. Wait a while, it'll happen automatically. Or if you're impatient, check if there's a ~ version and enable it in package.accept_keywords to see if it has the needed support. You can also look into the ebuild.

p.s. please use code tags when pasting code. If it's long, use wgetpaste.

Best Regards,
Georgi
Back to top
View user's profile Send private message
eschwartz
Developer
Developer


Joined: 29 Oct 2023
Posts: 225

PostPosted: Thu Jun 06, 2024 2:11 pm    Post subject: Reply with quote

I had hit the same problem and fixed it by contributing this patch:

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd10b12306a04085c1eed7b745572600205f458c

It should work now, it was just a stabilization anyway.
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