Gentoo Archives: gentoo-user

From: Michael Cook <mcook@××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Gentoo's Python policy drives me crazy
Date: Mon, 16 Dec 2019 19:09:28
Message-Id: e9b75559-8e95-93b9-7ae3-7d7962fa58b4@mackal.net
In Reply to: [gentoo-user] Gentoo's Python policy drives me crazy by Helmut Jarausch
1 On 12/16/19 2:00 PM, Helmut Jarausch wrote:
2 > Today's updating involves some package which causes rebuilding
3 > a package which needs Python2.7 and another one which needs
4 > python_single_target_python3_8
5 > required by that mysterious @__auto_slot_operator_replace_installed__
6 >
7 > To emerge the Python2.7 package (Scribus) I do need to set
8 > PYTHON_SINGLE_TARGET="python2_7"
9 > in /etc/portage/make.conf
10 > which makes the whole update fail since the other packages needs
11 > PYTHON_SINGLE_TARGET="python3_8"
12 >
13 > So, what can I brave Gentoo user do?
14 >
15 > Hopefully something better than trying to find which new package
16 > triggers which rebuild.
17
18 PYTHON_SINGLE_TARGET for most set ups should default to python3_6 and
19 PYTHON_TARGETS should be python2_7 and python3_6. scribus should be fine
20 with the defaults, but if you really wanna deviate from default
21 profiles, you'll probably have to set python_single_target_python2_7
22 manually for that package until it supports newer pythons. (currently it
23 seems to support up to 3.7, it might support 3.8 as well, just hasn't
24 updated, haven't looked into that detail)