On 8/3/2009 8:56 AM, Chris Lieb wrote:
> I have been running Python 2.5* on my Gentoo system ever since it went
> stable x86. Today I ran an `emerge --update --deep --newuse
> --with-bdeps y world -avt` and saw that python-2.4.6 was being pulled
> into a new slot. I have no idea why an old version of python is being
> pulled in since python is showing up at the root of a dependency tree,
> marked in bold (I'm pretty sure that means it's pulled in from world).
>
> I can't for the life of me find any package that requires python that
> forces version 2.4.6 or <2.5. I have Django installed, which requires
>> =python-2.5[sqlite], but I have the sqlite use flag enabled on my
> current install of Python. No combination of equery depends and
> qdepends will show me any packages that would be pulling in this old Python.
>
> Does anyone know what might be pulling in this old python?
>
> Thanks,
> Chris
A little more digging (ie, masking Python <2.5 and watching the carnage)
revealed that the culprit is the new django-1.0.3. The diff for the
DEPEND and RDEPEND is:
RDEPEND="dev-python/imaging
sqlite? ( || (
+ >=dev-lang/python-2.5[sqlite] )
( dev-python/pysqlite:2 <dev-lang/python-2.5 )
- >=dev-lang/python-2.5[sqlite] ) )
- test? ( || (
- ( dev-python/pysqlite:2 <dev-lang/python-2.5 )
- >=dev-lang/python-2.5[sqlite] ) )
+ )
postgres? ( dev-python/psycopg )
mysql? ( >=dev-python/mysql-python-1.2.1_p2 )"
DEPEND="${RDEPEND}
- doc? ( >=dev-python/sphinx-0.3 )"
+ doc? ( >=dev-python/sphinx-0.3 )
+ test? ( || (
+ >=dev-lang/python-2.5[sqlite] )
+ ( dev-python/pysqlite:2 <dev-lang/python-2.5 )
+ )"
Does anyone know why these changes would cause <python-2.5 to get pulled
in when I already have python-2.5[sqlite] installed?
Chris