Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
python issues after latest portage sync
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
saski4711
Apprentice
Apprentice


Joined: 24 Jun 2004
Posts: 202

PostPosted: Sun Jun 02, 2024 9:31 am    Post subject: python issues after latest portage sync Reply with quote

Hello,

something funny happened on my latest sync:

Code:

[ebuild   R    ] dev-python/installer-0.7.0  PYTHON_TARGETS="python3_12* -python3_13%"
[ebuild   R    ] dev-python/gpep517-16  PYTHON_TARGETS="python3_12*"
[ebuild   R    ] dev-python/flit-core-3.9.0  PYTHON_TARGETS="python3_12* -python3_13%"
[ebuild   R    ] dev-python/packaging-24.0  PYTHON_TARGETS="python3_12* -python3_13%"
[ebuild   R    ] dev-python/more-itertools-10.2.0  PYTHON_TARGETS="python3_12* -python3_13%"
[ebuild   R    ] dev-python/ordered-set-4.1.0  PYTHON_TARGETS="python3_12* -python3_13%"
[ebuild   R    ] dev-python/platformdirs-4.2.2  PYTHON_TARGETS="python3_12*"
[ebuild   R    ] dev-python/jaraco-context-5.3.0  PYTHON_TARGETS="python3_12* -python3_13%"
[ebuild   R    ] dev-python/wheel-0.43.0  PYTHON_TARGETS="python3_12* -python3_13%"
[ebuild   R    ] dev-python/jaraco-functools-4.0.1  PYTHON_TARGETS="python3_12* -python3_13%"
[ebuild   R    ] dev-python/jaraco-text-3.12.0  PYTHON_TARGETS="python3_12* -python3_13%"
[ebuild   R    ] dev-python/setuptools-70.0.0  PYTHON_TARGETS="python3_12*"
[ebuild   R    ] dev-python/setuptools-scm-8.1.0  PYTHON_TARGETS="python3_12* -python3_13%"
[ebuild   R    ] dev-python/markupsafe-2.1.5  PYTHON_TARGETS="python3_12* -python3_13%"
[ebuild   R    ] dev-python/ply-3.11-r2  PYTHON_TARGETS="python3_12* -python3_11*"
[ebuild   R    ] dev-python/jinja-3.1.4  PYTHON_TARGETS="python3_12* -python3_11* -python3_13%"
[ebuild   R    ] dev-python/mako-1.3.5  PYTHON_TARGETS="python3_12* -python3_11*"
[ebuild   R    ] dev-python/pycairo-1.26.0  PYTHON_TARGETS="python3_12* -python3_11*"
[ebuild   R    ] dev-python/pygobject-3.46.0  PYTHON_TARGETS="python3_12* -python3_11*"

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-python/mako:0

  (dev-python/mako-1.3.5:0/0::gentoo, installed) USE="-doc -test" ABI_X86="(64)" PYTHON_TARGETS="python3_11 -pypy3 -python3_10 -python3_12 -python3_13" pulled in by
    >=dev-python/mako-0.8.0[python_targets_python3_11(-)] required by (dev-util/intel_clc-24.1.0:0/0::gentoo, installed) USE="-debug" ABI_X86="(64)" LLVM_SLOT="17 -16"
                                                                                                                                                                                       

  (dev-python/mako-1.3.5:0/0::gentoo, ebuild scheduled for merge) USE="-doc -test" ABI_X86="(64)" PYTHON_TARGETS="python3_12 -pypy3 -python3_10 -python3_11 -python3_13" pulled in by
    >=dev-python/mako-0.8.0[python_targets_python3_12(-)] required by (media-libs/mesa-24.1.0-r1:0/0::gentoo, installed) USE="X (opengl) proprietary-codecs wayland zstd -d3d9 -debug -llvm -lm-sensors -opencl -osmesa (-selinux) -test -unwind -vaapi -valgrind -vdpau -vulkan -vulkan-overlay -xa (-zink)" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="sse2" LLVM_SLOT="17 -15 -16" VIDEO_CARDS="intel -d3d12 (-freedreno) -lavapipe (-lima) -nouveau (-nvk) (-panfrost) -r300 -r600 -radeon -radeonsi (-v3d) (-vc4) -virgl (-vivante) -vmware"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 

dev-python/pygobject:3

  (dev-python/pygobject-3.46.0:3/3::gentoo, installed) USE="cairo -debug -examples -test" ABI_X86="(64)" PYTHON_TARGETS="python3_11 -pypy3 -python3_10 -python3_12" pulled in by
    dev-python/pygobject:3[python_targets_python3_11(-)] required by (net-dns/avahi-0.9_rc1:0/0::gentoo, installed) USE="dbus gdbm gtk introspection ipv6 nls python -autoipd -bookmarks -doc -howl-compat -mdnsresponder-compat -qt5 (-selinux) -systemd -test" ABI_X86="(64) -32 (-x32)" PYTHON_SINGLE_TARGET="python3_11 -python3_10 -python3_12"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
    dev-python/pygobject:3/3=[python_targets_python3_11(-),cairo] required by (x11-misc/arandr-0.1.11:0/0::gentoo, installed) USE="userland_GNU" ABI_X86="(64)" PYTHON_TARGETS="python3_11 -python3_10"
                                                                                                                                                                                       
    dev-python/pygobject:3[python_targets_python3_11(-)] required by (net-print/hplip-3.23.12-r1:0/0::gentoo, installed) USE="X hpcups policykit scanner snmp -doc -fax -hpijs -kde -libnotify -libusb0 -minimal -parport -qt5 -static-ppds" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_11 -python3_10"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
    dev-python/pygobject:3[python_targets_python3_11(-)] required by (gui-libs/gtk-4.14.4:4/4::gentoo, installed) USE="X cups introspection (-aqua) -broadway -cloudproviders -colord -examples -gstreamer -sysprof -test (-vulkan) -wayland" ABI_X86="(64)" CPU_FLAGS_X86="f16c"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
    dev-python/pygobject:3=[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?,cairo] required by (x11-misc/arandr-0.1.11:0/0::gentoo, installed) USE="userland_GNU" ABI_X86="(64)" PYTHON_TARGETS="python3_11 -python3_10"
                                                                                                                                                                                       

  (dev-python/pygobject-3.46.0:3/3::gentoo, ebuild scheduled for merge) USE="cairo -debug -examples -test" ABI_X86="(64)" PYTHON_TARGETS="python3_12 -pypy3 -python3_10 -python3_11" pulled in by
    dev-python/pygobject:3[python_targets_python3_12(-)] required by (net-misc/networkmanager-1.46.0-r1:0/0::gentoo, installed) USE="concheck elogind introspection nss policykit tools wext wifi -audit -bluetooth -connection-sharing -debug -dhclient -dhcpcd -gnutls -gtk-doc -iptables -iwd -libedit -modemmanager -nftables -ofono -ovs -ppp -psl -resolvconf (-selinux) -syslog -systemd -teamd -test -vala" ABI_X86="(64) -32 (-x32)"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         

dev-python/pycairo:0

  (dev-python/pycairo-1.26.0:0/0::gentoo, installed) USE="-debug -doc -examples -test" ABI_X86="(64)" PYTHON_TARGETS="python3_11 -pypy3 -python3_10 -python3_12" pulled in by
    >=dev-python/pycairo-1.16.0[python_targets_pypy3(-)?,python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] required by (dev-python/pygobject-3.46.0:3/3::gentoo, installed) USE="cairo -debug -examples -test" ABI_X86="(64)" PYTHON_TARGETS="python3_11 -pypy3 -python3_10 -python3_12"
                                                                                                                                                                                                                                                                                                                                                                             

  (dev-python/pycairo-1.26.0:0/0::gentoo, ebuild scheduled for merge) USE="-debug -doc -examples -test" ABI_X86="(64)" PYTHON_TARGETS="python3_12 -pypy3 -python3_10 -python3_11" pulled in by
    >=dev-python/pycairo-1.16.0[python_targets_pypy3(-)?,python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] required by (dev-python/pygobject-3.46.0:3/3::gentoo, ebuild scheduled for merge) USE="cairo -debug -examples -test" ABI_X86="(64)" PYTHON_TARGETS="python3_12 -pypy3 -python3_10 -python3_11"
                                                                                                                                                                                                                                                                                                                                                                             


It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.


The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by dev-python/mako-1.3.5::gentoo
# required by @selected
# required by @world (argument)
>=dev-python/markupsafe-2.1.5 python_targets_python3_11
# required by dev-python/jaraco-text-3.12.0::gentoo
# required by dev-python/setuptools-70.0.0::gentoo
# required by dev-python/pycairo-1.26.0::gentoo
# required by dev-python/pygobject-3.46.0::gentoo[cairo]
# required by net-misc/networkmanager-1.46.0-r1::gentoo[introspection,-test]
# required by @selected
# required by @world (argument)
>=dev-python/gpep517-16 python_targets_python3_11
# required by dev-python/markupsafe-2.1.5::gentoo
# required by dev-python/mako-1.3.5::gentoo
# required by @selected
# required by @world (argument)
>=dev-python/setuptools-70.0.0 python_targets_python3_11
# required by dev-python/setuptools-70.0.0::gentoo
# required by dev-python/pycairo-1.26.0::gentoo
# required by dev-python/pygobject-3.46.0::gentoo[cairo]
# required by net-misc/networkmanager-1.46.0-r1::gentoo[introspection,-test]
# required by @selected
# required by @world (argument)
>=dev-python/jaraco-text-3.12.0 python_targets_python3_11
# required by dev-python/setuptools-70.0.0::gentoo
# required by dev-python/pycairo-1.26.0::gentoo
# required by dev-python/pygobject-3.46.0::gentoo[cairo]
# required by net-misc/networkmanager-1.46.0-r1::gentoo[introspection,-test]
# required by @selected
# required by @world (argument)
>=dev-python/more-itertools-10.2.0 python_targets_python3_11
# required by dev-python/setuptools-70.0.0::gentoo
# required by dev-python/pycairo-1.26.0::gentoo
# required by dev-python/pygobject-3.46.0::gentoo[cairo]
# required by net-misc/networkmanager-1.46.0-r1::gentoo[introspection,-test]
# required by @selected
# required by @world (argument)
>=dev-python/ordered-set-4.1.0 python_targets_python3_11
# required by dev-python/setuptools-70.0.0::gentoo
# required by dev-python/pycairo-1.26.0::gentoo
# required by dev-python/pygobject-3.46.0::gentoo[cairo]
# required by net-misc/networkmanager-1.46.0-r1::gentoo[introspection,-test]
# required by @selected
# required by @world (argument)
>=dev-python/packaging-24.0 python_targets_python3_11
# required by dev-python/setuptools-70.0.0::gentoo
# required by dev-python/pycairo-1.26.0::gentoo
# required by dev-python/pygobject-3.46.0::gentoo[cairo]
# required by net-misc/networkmanager-1.46.0-r1::gentoo[introspection,-test]
# required by @selected
# required by @world (argument)
>=dev-python/platformdirs-4.2.2 python_targets_python3_11
# required by dev-python/setuptools-70.0.0::gentoo
# required by dev-python/pycairo-1.26.0::gentoo
# required by dev-python/pygobject-3.46.0::gentoo[cairo]
# required by net-misc/networkmanager-1.46.0-r1::gentoo[introspection,-test]
# required by @selected
# required by @world (argument)
>=dev-python/wheel-0.43.0 python_targets_python3_11
# required by dev-python/setuptools-70.0.0::gentoo
# required by dev-python/pycairo-1.26.0::gentoo
# required by dev-python/pygobject-3.46.0::gentoo[cairo]
# required by net-misc/networkmanager-1.46.0-r1::gentoo[introspection,-test]
# required by @selected
# required by @world (argument)
>=dev-python/setuptools-scm-8.1.0 python_targets_python3_11
# required by dev-python/jaraco-text-3.12.0::gentoo
# required by dev-python/setuptools-70.0.0::gentoo
# required by dev-python/pycairo-1.26.0::gentoo
# required by dev-python/pygobject-3.46.0::gentoo[cairo]
# required by net-misc/networkmanager-1.46.0-r1::gentoo[introspection,-test]
# required by @selected
# required by @world (argument)
>=dev-python/flit-core-3.9.0 python_targets_python3_11
# required by dev-python/jaraco-text-3.12.0::gentoo
# required by dev-python/setuptools-70.0.0::gentoo
# required by dev-python/pycairo-1.26.0::gentoo
# required by dev-python/pygobject-3.46.0::gentoo[cairo]
# required by net-misc/networkmanager-1.46.0-r1::gentoo[introspection,-test]
# required by @selected
# required by @world (argument)
>=dev-python/jaraco-context-5.3.0 python_targets_python3_11
# required by dev-python/jaraco-text-3.12.0::gentoo
# required by dev-python/setuptools-70.0.0::gentoo
# required by dev-python/pycairo-1.26.0::gentoo
# required by dev-python/pygobject-3.46.0::gentoo[cairo]
# required by net-misc/networkmanager-1.46.0-r1::gentoo[introspection,-test]
# required by @selected
# required by @world (argument)
>=dev-python/jaraco-functools-4.0.1 python_targets_python3_11
# required by dev-python/gpep517-16::gentoo
# required by dev-python/pycairo-1.26.0::gentoo
# required by dev-python/pygobject-3.46.0::gentoo[cairo]
# required by net-misc/networkmanager-1.46.0-r1::gentoo[introspection,-test]
# required by @selected
# required by @world (argument)
>=dev-python/installer-0.7.0 python_targets_python3_11

 * In order to avoid wasting time, backtracking has terminated early
 * due to the above autounmask change(s). The --autounmask-backtrack=y
 * option can be used to force further backtracking, but there is no
 * guarantee that it will produce a solution.

emerge: there are no ebuilds built with USE flags to satisfy "dev-python/packaging[python_targets_python3_11(-)]".
!!! One of the following packages is required to complete your request:
- dev-python/packaging-23.2-r1::gentoo (Change USE: +python_targets_python3_11)
(dependency required by "dev-util/gdbus-codegen-2.78.6::gentoo[python_single_target_python3_11]" [installed])
(dependency required by "x11-libs/gtk+-3.24.42::gentoo" [installed])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])


I'm not quite sure on how to proceed from here. Any advice?
Back to top
View user's profile Send private message
kgdrenefort
Guru
Guru


Joined: 19 Sep 2023
Posts: 312
Location: Somewhere in the 77

PostPosted: Sun Jun 02, 2024 10:05 am    Post subject: Reply with quote

Hello,

Read the news ! :)

Regards,
GASPARD DE RENEFORT Kévin
_________________
Traduction wiki, pour praticiper.
Custom logos/biz card/website.
Back to top
View user's profile Send private message
Bloop_y2k
n00b
n00b


Joined: 13 Dec 2016
Posts: 2

PostPosted: Sun Jun 02, 2024 10:08 am    Post subject: Reply with quote

Hi,

could be one of your packages does not support python 3.12 yet?
You can back off the update as per:
https://www.gentoo.org/support/news-items/2024-05-09-python3-12.html

Specifically set:
PYTHON_TARGETS="python3_11 python3_12"
PYTHON_SINGLE_TARGET=python3_11

in /etc/portage/make.conf

Cheers
Back to top
View user's profile Send private message
saski4711
Apprentice
Apprentice


Joined: 24 Jun 2004
Posts: 202

PostPosted: Sun Jun 02, 2024 10:26 am    Post subject: Reply with quote

kgdrenefort wrote:
Hello,

Read the news ! :)

Regards,
GASPARD DE RENEFORT Kévin


I did and I've followed the manual for the pyhton update. No PYTHON_* were anywhere in my /etc/portage/make.conf at that time.

after running emerge -1vUD @world I get this now:

Code:

These are the packages that would be merged, in order:

Calculating dependencies |

!!! Problem resolving dependencies for net-print/hplip from @selected
... done!
Dependency resolution took 2.51 s (backtrack: 0/20).


!!! The ebuild selected to satisfy "net-print/hplip" has unmet requirements.
- net-print/hplip-3.23.12-r1::gentoo USE="X hpcups policykit scanner snmp -doc -fax -hpijs -kde -libnotify -libusb0 -minimal -parport -qt5 -static-ppds" 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])



It seems that one or more packages still rely on python 3.11 AFAIU. Shall I wait for them to be updated?

forcing python 3.11 by setting
PYTHON_TARGETS="python3_11 python3_12"
PYTHON_SINGLE_TARGET=python3_11

makes the whole python 3.12 transition kinda pointless im my mind.

Cheers
Back to top
View user's profile Send private message
eeckwrk99
Apprentice
Apprentice


Joined: 14 Mar 2021
Posts: 231
Location: Gentoo forums

PostPosted: Sun Jun 02, 2024 10:54 am    Post subject: Reply with quote

Just add
Code:
net-print/hplip python_targets_python3_11
to package.use in the meantime until it's available with 3.12.

I also have a few packages still requiring 3.11 on my system.
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