Gentoo Archives: gentoo-alt

From: Fabian Groffen <grobian@g.o>
To: gentoo-alt@l.g.o
Subject: [gentoo-alt] [PREFIX] Python-2 now disabled by default
Date: Fri, 31 May 2019 09:27:24
Message-Id: 20190531092715.GB18624@gentoo.org
In Reply to: Re: [gentoo-alt] [PREFIX] disabling Python-2 by default? by Guilherme Amadio
1 Python-2 is now disabled by default via
2 https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9de14ba
3
4 Since this changes the default for *all* users:
5 - if you want to keep python2_7, in your etc/portage/make.conf:
6 PYTHON_TARGETS="python2_7 python3_6"
7 - if you're ok without python2_7, rebuild things to avoid dependency
8 problems:
9 emerge -Duva --newuse world
10
11 Above after you synced to a tree that contains the change (in an hour
12 from now or so).
13
14 Thanks,
15 Fabian
16
17 On 31-05-2019 07:55:44 +0200, Guilherme Amadio wrote:
18 > Hi all,
19 >
20 > On Fri, May 31, 2019 at 10:28:47AM +0800, Benda Xu wrote:
21 > > Dear Fabian,
22 > >
23 > > Fabian Groffen <grobian@g.o> writes:
24 > >
25 > > > Now we're using python-3 to bootstrap in stage1 (this has still some
26 > > > issues on some platforms, but I'm assuming we can fix those), I've been
27 > > > wondering myself whether we should disable python-2 by default in
28 > > > Prefix. It would reduce some compilation time and files/disk footprint.
29 > > >
30 > > > Opinions, thoughts, ideas on disabling python-2 by default?
31 > > >
32 > > > (Obviously, people can enable and install python-2 after bootstrap,
33 > > > there's no plans to remove the ebuild from the tree at this time.)
34 > >
35 > > I agree with you. We only need bootstrap to produce a minimal system
36 > > for people to start with. If anything could be gotten rid of to make
37 > > bootstrap simpler, it should happen.
38 >
39 > +1
40 >
41 > -Guilherme
42 >
43
44 --
45 Fabian Groffen
46 Gentoo on a different level

Attachments

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