Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Migrating to python3_6 ?
Date: Fri, 06 Sep 2019 11:36:10
Message-Id: 1581307.nDeY0mlakK@localhost
In Reply to: Re: [gentoo-user] Re: Migrating to python3_6 ? by james
1 On Thursday, 5 September 2019 21:38:16 BST james wrote:
2 > On 9/5/19 11:12 AM, Nikos Chantziaras wrote:
3 > > On 04/09/2019 07:42, james wrote:
4 > >> I have these versions of python installed 2.7.15, 3.5.5 and 3.6.5
5 > >> and these settings in make.conf::
6 > >>
7 > >> ??PYTHON_TARGETS=" python2_7 python3_6"
8 > >> ??PYTHON_SINGLE_TARGET="python3_6"
9 > >>
10 > >> Sometimes it's hard to sort out the most accurate/current docs to read
11 > >> from the older docs, related to various issues.
12 > >
13 > > I don't set any of these. I let portage use its recommended defaults. Do
14 > > you have a reason to use something else?
15 >
16 > It's the way most docs suggest::
17 >
18 >
19 > https://wiki.gentoo.org/wiki/Python
20
21 As I understand this wiki page, you only need to specify a particular python
22 version if you require a specific slot installed, which happens to be
23 different from the default python slots managed by normal portage usage and
24 reverse dependencies of individual packages.
25
26
27 > Although the file was touched recently::
28 > This page was last edited on 3 August 2019, at 00:26.
29 >
30 > It does not seem to be agressive on the versions of Python. I try to use
31 > the latest 'stable' versions, as set in the make.conf file. Feel
32 > encourage to enlighten me on a better pathway, particulary on the
33 > pending (1/1/20) end to python 2.7.
34 >
35 >
36 > James
37
38 In order to use the latest stable python versions, I would remove any manually
39 specified python targets from make.conf, then 'emerge @preserved-rebuild',
40 then 'emerge --depclean -v -p' and for good measure 'revdep-rebuild'. When
41 python 2.7 becomes deprecated in the future it will fall out of the portage
42 tree and your regular emerge will unmerge it.
43
44 --
45 Regards,
46
47 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature