Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Ravi Pinjala <ravi@...>
Subject: Re: Re: Python 3.1: Stabilization and news item
Date: Fri, 12 Mar 2010 14:48:54 -0600
On 03/10/10 11:36, Arfrever Frehtes Taifersar Arahesis wrote:
> 2010-03-08 22:28:16 William Hubbs napisaƂ(a):
>> On Fri, Mar 05, 2010 at 04:19:36PM -0800, Zac Medico wrote:
>>> No, it won't. To prove it, I've just tested with a stable stage3
>>> containing portage-2.1.7.x. Here are the steps:
>>>
>>> 1) extract stable stage3 and chroot into it
>>> 2) mkdir /etc/portage&&  echo "dev-lang/python ~*">>
>>> /etc/portage/package.keywords
>>> 3) Run `emerge -pu --deep=1 portage`:
>>>     These are the packages that would be merged, in order:
>>>
>>>     Calculating dependencies... done!
>>>     [ebuild     UD] sys-apps/sandbox-1.6-r2 [2.2]
>>>     [ebuild     UD] app-shells/bash-4.0_p35 [4.0_p37]
>>>     [ebuild     U ] dev-lang/python-2.6.4-r1 [2.6.4]
>>>
>>> If you try `emerge -puD world` then you will see
>>> dev-lang/python-3.1.1-r1 pulled in by the unspecific dev-lang/python
>>> atoms in the cracklib and libxml2 dependencies. However, in
>>> portage-2.1.7.x (current stable), there is support for
>>> pseudo-version-ranges in dependencies. This allows you use a
>>> dependency like<dev-lang/python-3 in a package that doesn't support
>>> python3, and that will prevent it from getting pulled into the
>>
>> According to this, we can fix all of the dependencies in the tree then
>> stabilize python3 without having any issues, so I would vote for this
>> route, because it still oinsures that the stable tree will work
>> together.
>
> Almost everybody has at least 1 package installed which supports both Python 2
> and Python 3 and depends on dev-lang/python without version specification,
> so Python 3 would be pulled into dependency graph, so fixing of dependencies
> doesn't need to block stabilization of Python 3.
>

What about introducing a python3 USE flag? Seems like that would keep 
everybody happy.

--Ravi


References:
Python 3.1: Stabilization and news item
-- Arfrever Frehtes Taifersar Arahesis
Re: Re: Python 3.1: Stabilization and news item
-- Zac Medico
Re: Re: Python 3.1: Stabilization and news item
-- William Hubbs
Re: Re: Python 3.1: Stabilization and news item
-- Arfrever Frehtes Taifersar Arahesis
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Re: Python 3.1: Stabilization and news item
Next by thread:
Re: Python 3.1: Stabilization and news item
Previous by date:
Re: Handling of keywording bugs with only one arch
Next by date:
Re: eqawarn for main tree


Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.