Gentoo Archives: gentoo-python

From: "Michał Górny" <mgorny@g.o>
To: Mike Gilbert <floppym@g.o>
Cc: gentoo-python <gentoo-python@l.g.o>
Subject: Re: [gentoo-python] RFC: switch PYTHON_SINGLE_TARGET to 3.*, add 2.7 via package.use whenever necessary
Date: Sat, 07 Feb 2015 22:01:29
Message-Id: 20150207230117.5d826673@pomiot.lan
In Reply to: Re: [gentoo-python] RFC: switch PYTHON_SINGLE_TARGET to 3.*, add 2.7 via package.use whenever necessary by Mike Gilbert
1 Dnia 2015-02-07, o godz. 16:54:54
2 Mike Gilbert <floppym@g.o> napisał(a):
3
4 > On Sat, Feb 7, 2015 at 3:38 PM, Michał Górny <mgorny@g.o> wrote:
5 > > Hi,
6 > >
7 > > Just a quick idea:
8 > >
9 > > 1. we set default PYTHON_SINGLE_TARGET to 3.* matching PYTHON_TARGETS,
10 > >
11 > > 2. python2.7-only ebuilds get implicit 2.7 via axs' patch,
12 > >
13 > > 3. py2.7+pypy ebuilds -- we enable 2.7 via package.use.
14 >
15 > Does #3 actually work if PYTHON_SINGLE_TARGET=python3_3 is in
16 > make.conf? I forget what our findings were on this.
17
18 I forgot as well. Though I think we were trying IUSE defaults then.
19
20
21 > > Goals:
22 > >
23 > > a. have as high coverage as possible of ebuilds that can be installed
24 > > with default USE set.
25 > >
26 > > b. Make it cleaner to install py3-only ebuilds. Right now, user gets to
27 > > enable 3.* manually, and then maintain the entry whenever 3.* is
28 > > upgraded to newer version.
29 > >
30 > > c. Improve 2.7+3.* ebuilds by replacing 2.7 with the faster & better
31 > > 3.* :).
32 > >
33 > > d. Make it easier to switch 3.* version. When user wants to change it
34 > > from 3.3 to 3.4 or the other way around, he just needs to adjust PST
35 > > and 2.7+pypy ebuilds still work fine.
36 > >
37 > > Your thoughts?
38 >
39 > I like the idea of moving to python3 for packages that support it.
40 >
41 > Maybe we should try to do this in conjunction with the python3.4
42 > switch (again)? I haven't reviewed the stablereq tracker, but I've
43 > seen plenty of bugmail flying by on that.
44
45 Sounds about right :D.
46
47 --
48 Best regards,
49 Michał Górny

Replies