1 |
You've made the mistake of appearing knowlegable :-) |
2 |
|
3 |
20 years I've been using Gentoo, I'm about to remove it because I |
4 |
have not been able to maintain it since the whole python 2.7 |
5 |
deprecation process started. |
6 |
|
7 |
Given my /usr/portage/package.accept_keywords is down to a |
8 |
single line: |
9 |
|
10 |
*/* ~amd64 |
11 |
|
12 |
At this point pretty much anything I try to update bumps into: |
13 |
|
14 |
|
15 |
|
16 |
I have tried various combinations in package.use/local (i.e., |
17 |
separate from zz_autoconfig) of: |
18 |
|
19 |
nada. |
20 |
|
21 |
*/* PYTHON_TARGETS="-python2_7" |
22 |
*/* PYTHON_SINGLE_TARGET="python3_6" |
23 |
|
24 |
*/* PYTHON_TARGETS="-python2_7 python3_6" |
25 |
*/* PYTHON_SINGLE_TARGET="python3_6" |
26 |
|
27 |
followed by a combinatorial product of -python2_7 python3_{456789} |
28 |
for the PYTHON_TARGETS and each of the alternatives as PYTHON_SINGLE_TARGET. |
29 |
|
30 |
I've tried setting these in /etc/portage/make.conf also. |
31 |
|
32 |
One oddity I notice is that emerge and eselect seem out of sync on |
33 |
the version of python installed: |
34 |
|
35 |
# eselect python list; |
36 |
Available Python interpreters, in order of preference: |
37 |
? [1] python3.7 |
38 |
? [2] python3.6 |
39 |
? [3] python2.7 (fallback) |
40 |
root@steamer:package.use # emerge --search dev-lang/python; |
41 |
|
42 |
[ Results for search key : dev-lang/python ] |
43 |
Searching... |
44 |
|
45 |
<snip> |
46 |
|
47 |
* dev-lang/python |
48 |
? Latest version available: 3.10.0_alpha4 |
49 |
? Latest version installed: 3.9.0_beta1 |
50 |
Size of files: 18,279 KiB |
51 |
Homepage: https://www.python.org/ |
52 |
Description: An interpreted, interactive, object-oriented programming language |
53 |
License: PSF-2 |
54 |
|
55 |
|
56 |
|
57 |
|
58 |
Q: If you have a working Gentoo system, what version of python do |
59 |
you have installed? What does eselect show you? What are you |
60 |
using for PYTHON_TARGETS & PYTHON_TARGETS? |
61 |
|
62 |
Thank you. |
63 |
|
64 |
-- |
65 |
Steven Lembark |
66 |
Workhorse Computing |
67 |
lembark@×××××××.com |
68 |
+1 888 359 3508 |