Gentoo Archives: gentoo-user

From: Chris Lieb <chris.lieb@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Python 2.4.6 getting pulled in
Date: Mon, 03 Aug 2009 14:03:22
Message-Id: 4A76EE24.7010408@gmail.com
In Reply to: [gentoo-user] Python 2.4.6 getting pulled in by Chris Lieb
1 On 8/3/2009 8:56 AM, Chris Lieb wrote:
2 > I have been running Python 2.5* on my Gentoo system ever since it went
3 > stable x86. Today I ran an `emerge --update --deep --newuse
4 > --with-bdeps y world -avt` and saw that python-2.4.6 was being pulled
5 > into a new slot. I have no idea why an old version of python is being
6 > pulled in since python is showing up at the root of a dependency tree,
7 > marked in bold (I'm pretty sure that means it's pulled in from world).
8 >
9 > I can't for the life of me find any package that requires python that
10 > forces version 2.4.6 or <2.5. I have Django installed, which requires
11 >> =python-2.5[sqlite], but I have the sqlite use flag enabled on my
12 > current install of Python. No combination of equery depends and
13 > qdepends will show me any packages that would be pulling in this old Python.
14 >
15 > Does anyone know what might be pulling in this old python?
16 >
17 > Thanks,
18 > Chris
19
20 A little more digging (ie, masking Python <2.5 and watching the carnage)
21 revealed that the culprit is the new django-1.0.3. The diff for the
22 DEPEND and RDEPEND is:
23
24 RDEPEND="dev-python/imaging
25 sqlite? ( || (
26 + >=dev-lang/python-2.5[sqlite] )
27 ( dev-python/pysqlite:2 <dev-lang/python-2.5 )
28 - >=dev-lang/python-2.5[sqlite] ) )
29 - test? ( || (
30 - ( dev-python/pysqlite:2 <dev-lang/python-2.5 )
31 - >=dev-lang/python-2.5[sqlite] ) )
32 + )
33 postgres? ( dev-python/psycopg )
34 mysql? ( >=dev-python/mysql-python-1.2.1_p2 )"
35 DEPEND="${RDEPEND}
36 - doc? ( >=dev-python/sphinx-0.3 )"
37 + doc? ( >=dev-python/sphinx-0.3 )
38 + test? ( || (
39 + >=dev-lang/python-2.5[sqlite] )
40 + ( dev-python/pysqlite:2 <dev-lang/python-2.5 )
41 + )"
42
43 Does anyone know why these changes would cause <python-2.5 to get pulled
44 in when I already have python-2.5[sqlite] installed?
45
46 Chris

Replies

Subject Author
[gentoo-user] Re: Python 2.4.6 getting pulled in walt <w41ter@×××××.com>