On Mon, 25 Jan 2021 13:04:26 -0500, Steven Lembark wrote: > 20 years I've been using Gentoo, I'm about to remove it because I > have not been able to maintain it since the whole python 2.7 > deprecation process started. > > Given my /usr/portage/package.accept_keywords is down to a > single line: > > */* ~amd64
So you're basically running an ~arch system, why not set in in make.conf?
> At this point pretty much anything I try to update bumps into:
Bumps into what?
> I have tried various combinations in package.use/local (i.e.,
> separate from zz_autoconfig) of:
>
> nada.
>
> */* PYTHON_TARGETS="-python2_7"
> */* PYTHON_SINGLE_TARGET="python3_6"
>
> */* PYTHON_TARGETS="-python2_7 python3_6"
> */* PYTHON_SINGLE_TARGET="python3_6"
>
> followed by a combinatorial product of -python2_7 python3_{456789}
> for the PYTHON_TARGETS and each of the alternatives as
> PYTHON_SINGLE_TARGET.
>
> I've tried setting these in /etc/portage/make.conf also.
I have found that setting PYTHON*_TARGET manually is something to be
avoided unless absolutely necessary. I would remove all of these settings
and let portage manage it. Then run emerge -uavDN @world. You may need to
*temporarily* set PYTHON_TARGETS to get through this.
Most importantly, carefully go through any emerge errors, and the recent
discussions on this list, to find out the cause of any clashes. In most
cases, it is usually older versions of software having dependencies
involving python2.7 that is at the root.
> One oddity I notice is that emerge and eselect seem out of sync on
> the version of python installed:
Get these in line by running:
eselect python update
eselect python cleanup
> Q: If you have a working Gentoo system, what version of python do
> you have installed?
dev-lang/python-3.9.1-r1
dev-lang/python-3.8.7-r1
dev-lang/python-2.7.18-r6
> What does eselect show you?
Available Python interpreters, in order of preference:
[1] python3.8
[2] python2.7
[3] python3.9 (fallback)
> What are you
> using for PYTHON_TARGETS & PYTHON_TARGETS?
Portage defaults, nothing in /etc/portage
PYTHON_SINGLE_TARGET="python3_8"
PYTHON_TARGETS="python2_7 python3_8"
--
Neil Bothwick
Stop tagline theft! Copyright your tagline (c)
pgpw6mcA5TBLB.pgp
Description: OpenPGP digital signature

