Gentoo Archives: gentoo-python

From: Nikolaj Sjujskij <sterkrig@×××××××.com>
To: gentoo-python <gentoo-python@l.g.o>
Cc: Dirkjan Ochtman <djc@g.o>
Subject: Re: [gentoo-python] python-distutils.eclass vs. python.eclass + distutils.eclass
Date: Sat, 26 May 2012 13:02:20
Message-Id: op.wew2gozzh7emz2@gentoobook.trollsnaetverk
In Reply to: Re: [gentoo-python] python-distutils.eclass vs. python.eclass + distutils.eclass by Dirkjan Ochtman
> So I think the second part of this (x.y to x.y+1 transitions, in the > Python world, are generally relatively smooth) invalidates your point > in the first part: if the transitions are generally smooth, then yes, > when Python 3.3 gets stabilized, I want all of my Python packages to > be available from the 3.3 interpreter.
Let's take a "stable" user who updates (`emerge --update --deep --newuse @world`) his/her system regularly. Python 3.3 is released, added to Portage tree and eventually unmasked. PYTHON_TARGETS variable is changed to include 3.3. And suddenly `emerge --newuse @world` on stable system suggests rebuilding of every package using new eclass, because new (though disabled) USE-flags was added. And when Python 3.3 is keyworded stable, hence bringing new default PYTHON_TARGETS, user should now rebuild those packages once more, but now, at least, not uselessly. Just yesterday I had www-servers/uwsgi recompiled because of changed RUBY_TARGETS. And I even have no Ruby installed.
> So, I'd prefer it if, instead of speaking up about general concerns > that the new eclass isn't ready or has serious problems, people please > file one bug each about each serious problem they have run into, > found, or are concerned about, CC the python team, and we'll try to > take a look.
I had written about problems with new eclass a couple of weeks ago here. Not that anybody cares that now any user not caring about dev-lang/python explicitly would get Python 2.7 and all his modules compiled twice for no good reason (except "we can't think out more sensible default for new eclass"). Whether or not does he *really* need Python 2.x or stable and included-in-stage3 Python 3.2 suffices for him.