On Monday, 25 January 2021 18:04:26 GMT Steven Lembark wrote: > You've made the mistake of appearing knowlegable :-)
Clearly this does not appear to me. I just bumble along trying not to break things! :p > 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 > > At this point pretty much anything I try to update bumps into: > > > > 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. > > One oddity I notice is that emerge and eselect seem out of sync on > the version of python installed: > > # eselect python list; > Available Python interpreters, in order of preference: > ? [1] python3.7 > ? [2] python3.6 > ? [3] python2.7 (fallback) > root@steamer:package.use # emerge --search dev-lang/python; > > [ Results for search key : dev-lang/python ] > Searching... > > <snip> > > * dev-lang/python > ? Latest version available: 3.10.0_alpha4 > ? Latest version installed: 3.9.0_beta1 > Size of files: 18,279 KiB > Homepage: https://www.python.org/ > Description: An interpreted, interactive, object-oriented > programming language License: PSF-2 > > > > > Q: If you have a working Gentoo system, what version of python do > you have installed? What does eselect show you? What are you > using for PYTHON_TARGETS & PYTHON_TARGETS? > > Thank you. I run stable systems, with only a few keyworded packages. This is what I have installed here: $ eix -l dev-lang/python [I] dev-lang/python Available versions: (2.7) 2.7.18-r5 [-berkdb bluetooth build examples gdbm hardened ipv6 libressl +ncurses +readline sqlite +ssl +threads tk +wide-unicode wininst +xml ELIBC="uclibc"] 2.7.18-r6 [-berkdb bluetooth build examples gdbm hardened ipv6 libressl +ncurses +readline sqlite +ssl +threads tk verify-sig +wide-unicode wininst +xml ELIBC="uclibc"] (3.6) 3.6.12-r1 (3.6/3.6m)^t [bluetooth build examples gdbm hardened ipv6 libressl +ncurses +readline sqlite +ssl test +threads tk wininst +xml] 3.6.12-r2 (3.6/3.6m)^t [bluetooth build examples gdbm hardened ipv6 libressl +ncurses +readline sqlite +ssl test +threads tk verify-sig wininst +xml] (3.7) 3.7.9-r1 (3.7/3.7m)^t [bluetooth build examples gdbm hardened ipv6 libressl +ncurses +readline sqlite +ssl test tk wininst +xml] 3.7.9-r2 (3.7/3.7m)^t [bluetooth build examples gdbm hardened ipv6 libressl +ncurses +readline sqlite +ssl test tk verify-sig wininst +xml] (3.8) 3.8.6-r1 ^t [bluetooth build examples gdbm hardened ipv6 libressl +ncurses +readline sqlite +ssl test tk wininst +xml] 3.8.7-r1 ^t [bluetooth build examples gdbm hardened ipv6 libressl +ncurses +readline sqlite +ssl test tk verify-sig wininst +xml] (3.9) 3.9.0-r1 ^t [bluetooth build examples gdbm hardened ipv6 libressl +ncurses +readline sqlite +ssl test tk wininst +xml] 3.9.1-r1 ^t [bluetooth build examples gdbm hardened ipv6 libressl +ncurses +readline sqlite +ssl test tk verify-sig wininst +xml] (3.10) ~ 3.10.0_alpha3-r1 ^t [bluetooth build examples gdbm hardened ipv6 libressl +ncurses +readline sqlite +ssl test tk wininst +xml] ~ 3.10.0_alpha4 ^t [bluetooth build examples gdbm hardened ipv6 libressl +ncurses +readline sqlite +ssl test tk verify-sig wininst +xml] Installed versions: 2.7.18-r6(2.7)(09:15:42 25/01/21)(bluetooth gdbm ipv6 ncurses readline sqlite ssl threads wide-unicode xml -berkdb -build - examples -hardened -libressl -tk -verify-sig -wininst ELIBC="-uclibc") 3.8.7-r1(3.8)^t(09:05:54 25/01/21)(bluetooth gdbm ipv6 ncurses readline sqlite ssl xml -build -examples -hardened -libressl - test -tk -verify-sig -wininst) 3.9.1-r1(3.9)^t(09:11:05 25/01/21)(bluetooth gdbm ipv6 ncurses readline sqlite ssl xml -build -examples -hardened -libressl - test -tk -verify-sig -wininst) Homepage: https://www.python.org/ Description: An interpreted, interactive, object-oriented programming language [I] dev-lang/python-exec Available versions: (2) 2.4.6-r2 [PYTHON_TARGETS="pypy3 python2_7 python3_7 python3_8 python3_9"] ~ 2.4.6-r3 [+native-symlinks PYTHON_TARGETS="pypy3 python2_7 python3_7 python3_8 python3_9"] ~ 2.4.6-r4 [+native-symlinks PYTHON_TARGETS="pypy3 python2_7 python3_7 python3_8 python3_9"] Installed versions: 2.4.6-r2(2)(11:45:49 16/01/21)(PYTHON_TARGETS="pypy3 python2_7 python3_7 python3_8 python3_9") Homepage: https://github.com/mgorny/python-exec/ Description: Python script wrapper These are the current versions: $ eselect python list Available Python interpreters, in order of preference: [1] python3.9 [2] python3.8 [3] python2.7 (fallback) I have not set up any targets manually - this is from 'emerge --info': PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python2_7 python3_8" Someone will hopefully drop in soon with ~amd64 to compare notes.
signature.asc
Description: This is a digitally signed message part.