Gentoo Archives: gentoo-dev

From: Andrew Savchenko <bircoph@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: Reverted python3.4 defaults
Date: Tue, 21 Jul 2015 12:05:56
Message-Id: 20150721150519.72f054b4471814ace1a05fef@gentoo.org
In Reply to: Re: [gentoo-dev] Re: Reverted python3.4 defaults by Ben de Groot
1 On Tue, 21 Jul 2015 18:59:00 +0800 Ben de Groot wrote:
2 > On 20 July 2015 at 17:27, Jason Zaman <perfinion@g.o> wrote:
3 > > On Mon, Jul 20, 2015 at 10:39:25AM +0200, Dirkjan Ochtman wrote:
4 > >> On Mon, Jul 20, 2015 at 6:03 AM, Ben de Groot <yngwin@g.o> wrote:
5 > >> > I would like to hear from the other team members, yes.
6 > >>
7 > >> I have sympathy towards those who are asking for only one Python in
8 > >> stages (as in, I would be fine with that), but I very much think we
9 > >> should not leave Python 3 out of generally installed systems by
10 > >> default. We need to move through the transition, and increasing the
11 > >> barriers to Python 3 adoption will only make that process slower.
12 > >>
13 > >> I also feel like a voting process for this is probably not a solution.
14 > >
15 > > I also very much dislike shipping only python2. Having only one python
16 > > is admirable and I'm all for it but if we only ship one by default it
17 > > should be python3.
18 >
19 > That is a nice sentiment, but unpractical. We have a lot more packages
20 > that require python2, while we only have 74 that require python3.
21 >
22 > While it may be possible to ship with python3 only (I haven't looked
23 > at what the packages in stage3 support), users will almost certainly
24 > need to install python2 when they start installing more packages.
25
26 Seconded here. Too many userspace stuff I use doesn't support
27 python3 at all.
28
29 > But if we ship with python2 only, then most users won't need python3.
30 > Those who want it, can of course simply add it. Going with python2 as
31 > default simply makes more sense.
32
33 Can't agree here.
34
35 1) Sooner or later python2 will be deprecated upstream, so we
36 should encourange users to use python3 for packages supporting it.
37 This will increase user base, feedbacks and will help such
38 transition.
39
40 2) In many cases (e.g. for emerge) python3 is faster than python2.
41 This is also important, especially in Gentoo.
42
43 I see little harm with shipping both python versions as it will
44 suit needs most of the users out-of-the-box. And python3 should be
45 set as default so that will stick to present, not to the past.
46
47 As for people interested in single python version installed only,
48 they are always free to switch to selected version and drop all
49 others. It may require rebuild of python-dependent packages of
50 course, but this is a normal procedure.
51
52 Best regards,
53 Andrew Savchenko