1 |
On 08/03/2009 07:03 AM, Chris Lieb wrote: |
2 |
> On 8/3/2009 8:56 AM, Chris Lieb wrote: |
3 |
>> I have been running Python 2.5* on my Gentoo system ever since it went |
4 |
>> stable x86. Today I ran an `emerge --update --deep --newuse |
5 |
>> --with-bdeps y world -avt` and saw that python-2.4.6 was being pulled |
6 |
>> into a new slot. I have no idea why an old version of python is being |
7 |
>> pulled in since python is showing up at the root of a dependency tree, |
8 |
>> marked in bold (I'm pretty sure that means it's pulled in from world). |
9 |
>> |
10 |
>> I can't for the life of me find any package that requires python that |
11 |
>> forces version 2.4.6 or<2.5. I have Django installed, which requires |
12 |
>>> =python-2.5[sqlite], but I have the sqlite use flag enabled on my |
13 |
>> current install of Python. No combination of equery depends and |
14 |
>> qdepends will show me any packages that would be pulling in this old Python. |
15 |
>> |
16 |
>> Does anyone know what might be pulling in this old python? |
17 |
>> |
18 |
>> Thanks, |
19 |
>> Chris |
20 |
> |
21 |
> A little more digging (ie, masking Python<2.5 and watching the carnage) |
22 |
> revealed that the culprit is the new django-1.0.3. The diff for the |
23 |
> DEPEND and RDEPEND is: |
24 |
> |
25 |
> RDEPEND="dev-python/imaging |
26 |
> sqlite? ( || ( |
27 |
> +>=dev-lang/python-2.5[sqlite] ) |
28 |
> ( dev-python/pysqlite:2<dev-lang/python-2.5 ) |
29 |
> ->=dev-lang/python-2.5[sqlite] ) ) |
30 |
> - test? ( || ( |
31 |
> - ( dev-python/pysqlite:2<dev-lang/python-2.5 ) |
32 |
> ->=dev-lang/python-2.5[sqlite] ) ) |
33 |
> + ) |
34 |
> postgres? ( dev-python/psycopg ) |
35 |
> mysql? (>=dev-python/mysql-python-1.2.1_p2 )" |
36 |
> DEPEND="${RDEPEND} |
37 |
> - doc? (>=dev-python/sphinx-0.3 )" |
38 |
> + doc? (>=dev-python/sphinx-0.3 ) |
39 |
> + test? ( || ( |
40 |
> +>=dev-lang/python-2.5[sqlite] ) |
41 |
> + ( dev-python/pysqlite:2<dev-lang/python-2.5 ) |
42 |
> + )" |
43 |
> |
44 |
> Does anyone know why these changes would cause<python-2.5 to get pulled |
45 |
> in when I already have python-2.5[sqlite] installed? |
46 |
|
47 |
Frankly, no. But have you run python-updater yet? Is there anything left |
48 |
in /usr/lib/python2.4? Are /usr/bin/python and /usr/bin/python2 both pointing |
49 |
to /usr/bin/python2.5? |
50 |
|
51 |
Maybe try re-emerging those dependencies that you already have installed? |
52 |
Does eselect python list show anything unexpected? |