1 |
On Monday, 25 January 2021 18:04:26 GMT Steven Lembark wrote: |
2 |
> You've made the mistake of appearing knowlegable :-) |
3 |
|
4 |
Clearly this does not appear to me. I just bumble along trying not to break |
5 |
things! :p |
6 |
|
7 |
|
8 |
> 20 years I've been using Gentoo, I'm about to remove it because I |
9 |
> have not been able to maintain it since the whole python 2.7 |
10 |
> deprecation process started. |
11 |
> |
12 |
> Given my /usr/portage/package.accept_keywords is down to a |
13 |
> single line: |
14 |
> |
15 |
> */* ~amd64 |
16 |
> |
17 |
> At this point pretty much anything I try to update bumps into: |
18 |
> |
19 |
> |
20 |
> |
21 |
> I have tried various combinations in package.use/local (i.e., |
22 |
> separate from zz_autoconfig) of: |
23 |
> |
24 |
> nada. |
25 |
> |
26 |
> */* PYTHON_TARGETS="-python2_7" |
27 |
> */* PYTHON_SINGLE_TARGET="python3_6" |
28 |
> |
29 |
> */* PYTHON_TARGETS="-python2_7 python3_6" |
30 |
> */* PYTHON_SINGLE_TARGET="python3_6" |
31 |
> |
32 |
> followed by a combinatorial product of -python2_7 python3_{456789} |
33 |
> for the PYTHON_TARGETS and each of the alternatives as PYTHON_SINGLE_TARGET. |
34 |
> |
35 |
> I've tried setting these in /etc/portage/make.conf also. |
36 |
> |
37 |
> One oddity I notice is that emerge and eselect seem out of sync on |
38 |
> the version of python installed: |
39 |
> |
40 |
> # eselect python list; |
41 |
> Available Python interpreters, in order of preference: |
42 |
> ? [1] python3.7 |
43 |
> ? [2] python3.6 |
44 |
> ? [3] python2.7 (fallback) |
45 |
> root@steamer:package.use # emerge --search dev-lang/python; |
46 |
> |
47 |
> [ Results for search key : dev-lang/python ] |
48 |
> Searching... |
49 |
> |
50 |
> <snip> |
51 |
> |
52 |
> * dev-lang/python |
53 |
> ? Latest version available: 3.10.0_alpha4 |
54 |
> ? Latest version installed: 3.9.0_beta1 |
55 |
> Size of files: 18,279 KiB |
56 |
> Homepage: https://www.python.org/ |
57 |
> Description: An interpreted, interactive, object-oriented |
58 |
> programming language License: PSF-2 |
59 |
> |
60 |
> |
61 |
> |
62 |
> |
63 |
> Q: If you have a working Gentoo system, what version of python do |
64 |
> you have installed? What does eselect show you? What are you |
65 |
> using for PYTHON_TARGETS & PYTHON_TARGETS? |
66 |
> |
67 |
> Thank you. |
68 |
|
69 |
I run stable systems, with only a few keyworded packages. This is what I have |
70 |
installed here: |
71 |
|
72 |
$ eix -l dev-lang/python |
73 |
[I] dev-lang/python |
74 |
Available versions: |
75 |
(2.7) |
76 |
2.7.18-r5 [-berkdb bluetooth build examples gdbm hardened ipv6 |
77 |
libressl +ncurses +readline sqlite +ssl +threads tk +wide-unicode wininst +xml |
78 |
ELIBC="uclibc"] |
79 |
2.7.18-r6 [-berkdb bluetooth build examples gdbm hardened ipv6 |
80 |
libressl +ncurses +readline sqlite +ssl +threads tk verify-sig +wide-unicode |
81 |
wininst +xml ELIBC="uclibc"] |
82 |
(3.6) |
83 |
3.6.12-r1 (3.6/3.6m)^t [bluetooth build examples gdbm hardened ipv6 |
84 |
libressl +ncurses +readline sqlite +ssl test +threads tk wininst +xml] |
85 |
3.6.12-r2 (3.6/3.6m)^t [bluetooth build examples gdbm hardened ipv6 |
86 |
libressl +ncurses +readline sqlite +ssl test +threads tk verify-sig wininst |
87 |
+xml] |
88 |
(3.7) |
89 |
3.7.9-r1 (3.7/3.7m)^t [bluetooth build examples gdbm hardened ipv6 |
90 |
libressl +ncurses +readline sqlite +ssl test tk wininst +xml] |
91 |
3.7.9-r2 (3.7/3.7m)^t [bluetooth build examples gdbm hardened ipv6 |
92 |
libressl +ncurses +readline sqlite +ssl test tk verify-sig wininst +xml] |
93 |
(3.8) |
94 |
3.8.6-r1 ^t [bluetooth build examples gdbm hardened ipv6 |
95 |
libressl +ncurses +readline sqlite +ssl test tk wininst +xml] |
96 |
3.8.7-r1 ^t [bluetooth build examples gdbm hardened ipv6 |
97 |
libressl +ncurses +readline sqlite +ssl test tk verify-sig wininst +xml] |
98 |
(3.9) |
99 |
3.9.0-r1 ^t [bluetooth build examples gdbm hardened ipv6 |
100 |
libressl +ncurses +readline sqlite +ssl test tk wininst +xml] |
101 |
3.9.1-r1 ^t [bluetooth build examples gdbm hardened ipv6 |
102 |
libressl +ncurses +readline sqlite +ssl test tk verify-sig wininst +xml] |
103 |
(3.10) |
104 |
~ 3.10.0_alpha3-r1 ^t [bluetooth build examples gdbm hardened ipv6 |
105 |
libressl +ncurses +readline sqlite +ssl test tk wininst +xml] |
106 |
~ 3.10.0_alpha4 ^t [bluetooth build examples gdbm hardened ipv6 |
107 |
libressl +ncurses +readline sqlite +ssl test tk verify-sig wininst +xml] |
108 |
Installed versions: 2.7.18-r6(2.7)(09:15:42 25/01/21)(bluetooth gdbm |
109 |
ipv6 ncurses readline sqlite ssl threads wide-unicode xml -berkdb -build - |
110 |
examples -hardened -libressl -tk -verify-sig -wininst ELIBC="-uclibc") |
111 |
3.8.7-r1(3.8)^t(09:05:54 25/01/21)(bluetooth gdbm |
112 |
ipv6 ncurses readline sqlite ssl xml -build -examples -hardened -libressl - |
113 |
test -tk -verify-sig -wininst) |
114 |
3.9.1-r1(3.9)^t(09:11:05 25/01/21)(bluetooth gdbm |
115 |
ipv6 ncurses readline sqlite ssl xml -build -examples -hardened -libressl - |
116 |
test -tk -verify-sig -wininst) |
117 |
Homepage: https://www.python.org/ |
118 |
Description: An interpreted, interactive, object-oriented |
119 |
programming language |
120 |
|
121 |
[I] dev-lang/python-exec |
122 |
Available versions: |
123 |
(2) |
124 |
2.4.6-r2 [PYTHON_TARGETS="pypy3 python2_7 python3_7 python3_8 |
125 |
python3_9"] |
126 |
~ 2.4.6-r3 [+native-symlinks PYTHON_TARGETS="pypy3 python2_7 |
127 |
python3_7 python3_8 python3_9"] |
128 |
~ 2.4.6-r4 [+native-symlinks PYTHON_TARGETS="pypy3 python2_7 |
129 |
python3_7 python3_8 python3_9"] |
130 |
Installed versions: 2.4.6-r2(2)(11:45:49 16/01/21)(PYTHON_TARGETS="pypy3 |
131 |
python2_7 python3_7 python3_8 python3_9") |
132 |
Homepage: https://github.com/mgorny/python-exec/ |
133 |
Description: Python script wrapper |
134 |
|
135 |
|
136 |
These are the current versions: |
137 |
|
138 |
$ eselect python list |
139 |
Available Python interpreters, in order of preference: |
140 |
[1] python3.9 |
141 |
[2] python3.8 |
142 |
[3] python2.7 (fallback) |
143 |
|
144 |
|
145 |
I have not set up any targets manually - this is from 'emerge --info': |
146 |
|
147 |
PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python2_7 python3_8" |
148 |
|
149 |
|
150 |
Someone will hopefully drop in soon with ~amd64 to compare notes. |