Gentoo Archives: gentoo-dev

From: Antoni Grzymala <awaria@××××××××××.pl>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: Python 3.1: Stabilization and news item
Date: Mon, 08 Mar 2010 09:53:51
Message-Id: 20100308095337.GA16259@chopin.edu.pl
In Reply to: Re: [gentoo-dev] Re: Python 3.1: Stabilization and news item by Matti Bickel
1 Matti Bickel dixit (2010-03-08, 10:39):
2
3 > >> A stable user who doesn't want python 3 installed shouldn't have it
4 > >> forced on them. If something is pulling in python-3 then that
5 > >> package needs to have its dependencies fixed. IIRC Portage isn't
6 > >> greedy wrt. SLOTs like it was before (unless you use @installed) so
7 > >> it shouldn't be pulled in by anything that doesn't require it.
8 >
9 > +1 on that. If your program is only tested with python-2 or has
10 > regressions with python-3 (e.g. performance loss), a maintainer can and
11 > should mark that package as python-2 only. For new systems, the only
12 > "must have" python user i can think of is portage. And that has an
13 > explicit USE="python3" and as Zac outlined takes DEPEND-pains to ensure
14 > python-2.* is pulled in if available. So you're starting with python-2.*
15 > and every program not explicitly pulling in python-3.* should be happy
16 > with that.
17 >
18 > > I think that is being said is, due to python 3 being unnecessary for
19 > > majority of users, due to a small number of applications actually
20 > > using it, it should be in ~arch.
21 >
22 > You're actually damning most of the tree to be ~arch, if that's the
23 > criterion for stable.
24 >
25 > > Of course an application that depends on python 3, but is entirely
26 > > stable should not be marked testing (to my reckoning at least). I
27 > > think the best way to go about it is to set python-3 in ~arch.
28 >
29 > These are contradicting statements. Repoman will and should kill anyone
30 > attempting to do that. All [R,]DEPENDS of an ebuild must be stable, if
31 > that ebuild is to be marked stable, too.
32 >
33 > So b/c i still can't understand what's so horrible about python-3 going
34 > into stable (even if p.mask'ed, if that's the consensus), my vote goes
35 > to "mark it stable already".
36
37 Sorry guys if I missed something crucial in this lengthy thread, but
38 from what I'm understanding:
39
40 if python-3 goes stable (and unmasked):
41
42 - it is a separate, slotted version
43 - it generally shouldn't get pulled in (current portage non-greedy
44 behaviour on slots)
45 - if it does get pulled in by, say, and old portage version, or a
46 package with badly defined deps, it shouldn't do any harm because it
47 will just sit quietly in its slot and old packages will still
48 compile/run against (already installed) python-2.x
49
50 or not?
51
52 PS. one thing I realize I may be missing is the /usr/bin/python symlink
53 and the /usr/bin/python-wrapper to which it points. Will the default
54 change to python31 upon python-3 installation?
55
56 best,
57
58 --
59 [a]

Replies

Subject Author
[gentoo-dev] Re: Re: Python 3.1: Stabilization and news item Peter Hjalmarsson <xake@×××××××××.net>