Am 06.06.24 um 11:08 schrieb Jacques Montier:
Hello all,

I migrated python from 3.11 to 3.12 following the instructions without any problem and i arrived to
*/* PYTHON_TARGETS: -* python3_12
*/* PYTHON_SINGLE_TARGET: -* python3_12
in package.use.

Yesterday, everything was fine and this morning, problem with hplip package.

with emerge -av hplip, i get this :

!!! The ebuild selected to satisfy "hplip" has unmet requirements.
- net-print/hplip-3.23.12-r3::gentoo USE="X hpcups libnotify policykit qt5 scanner snmp -doc -fax -hpijs -kde -libusb0 -minimal -parport -static-ppds" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_11 python3_12 -python3_10"
  The following REQUIRED_USE flag constraints are unsatisfied:
    exactly-one-of ( python_single_target_python3_10 python_single_target_python3_11 python_single_target_python3_12 )

So , in package.use, i put the line :
net-print/hplip scanner python_single_target_python3_12

It fails with the same issue :

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


How could i resolve this issue ?

Thanks for your help.

Cheers,

--
Jacques


I think you do have do also deselect python 3.11 in the package use line. I Think something like this: net-print/hplip scanner python_single_target_python3_12 -python_single_target_python3_11

I think I handelt ist like this some years ago when some other version from python was upgraded.

Reply via email to