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] Python 3 in Gentoo
Date: Mon, 30 Jul 2012 07:45:07
Message-Id: 20120730094519.01c956af@pomiocik.lan
In Reply to: [gentoo-python] Python 3 in Gentoo by Mike Gilbert
1 On Sun, 29 Jul 2012 22:13:22 -0400
2 Mike Gilbert <floppym@g.o> wrote:
3
4 > This past weekend, the topic of the current state of Python 3 in
5 > Gentoo was raised once again in the #gentoo-dev IRC channel. Here's
6 > where we currently stand:
7 >
8 > 1. Python 3.2 is installed by default on major arches due to its
9 > presence in the stage3 tarball.
10 >
11 > 2. Python 2 is NOT installed by default as nothing in the system set
12 > actually depends on it.
13 >
14 > 3. In most cases, users end up building and installing Python 2.7 as a
15 > dependency of some other package once they have their system set up.
16 > Users end up having two versions of Python installed.
17 >
18 > This third point is the cause of some annoyance for several (many?)
19 > developers and users. In most cases, there really is no reason for a
20 > user to have two versions of Python installed; it is simply a
21 > redundant set of code. However, if you attempt to remove Python 3,
22 > portage will just pull it back on the next world upgrade unless you
23 > mask it.
24 >
25 > I don't think this makes for a very good user experience. So, how can
26 > we change that?
27 >
28 > As I see it, we need a way to avoid portage's overly optimistic
29 > upgrade mechanic. One way to do that is to drop the stable keywords
30 > on Python 3, but I feel that is dishonest; Python 3 itself is
31 > perfectly stable, so we should not force users to unmask it.
32
33 Portage is doing something like that? Paludis, yes, but portage - I
34 doubt it. I'm pretty sure it shouldn't pull anything in unless
35 something (*anything*) depends on python:3, or python without SLOT.
36
37 Well, unless you're saying that very, very smart python.eclass have
38 just built a lot of apps with semi-automagic dependency on python:3.*
39 and you didn't rebuild them all without 3.* in USE_PYTHON.
40
41 --
42 Best regards,
43 Michał Górny

Attachments

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