Josselin Mouette wrote: > Le vendredi 05 octobre 2007 à 18:50 +0200, Yann Leboulanger a écrit : >> Josselin Mouette wrote: >>> Le jeudi 04 octobre 2007 à 21:30 +0200, Yann Leboulanger a écrit : >>>> Gajim can work with python2.5 because pysqlite is included in python2.5. >>>> But there making a dep on python2.4 + python-pysqlite2 OR python2.5 >>>> doesn't work: it's not because you have python 2.5 installed that it's >>>> you'll use it to run Gajim, see bug #418252. It's why we now strictly >>>> depend on python2.4, I don't see how to improve things. >>> In this case, you should depend on: >>> python (>= 2.4), python-pysqlite2 | python (>= 2.5) >>> and that should be enough for when the package is upgraded. >> That doesn't work, it's what we did before. please see bug #418252. It's >> not because you have pyton2.5 installed that you use it to run Gajim. > > This didn't work because your dependencies were wrong: > Depends: python2.4-pysqlite2 | python2.5 > This indeed cannot work because python2.5 isn't guaranteed to be the > default. > > I'm asking that you set correct dependencies: > Depends: python (>= 2.4), python-pysqlite2 | python (>= 2.5) > This way, the 2.5 dependency will be taken into account only when 2.5 > becomes the default. > >>> In fact, when moved to version 2.5, python should start providing >>> python-pysqlite2; currently the python maintainer hasn't added this >>> field, but it should be fixed before the migration. >> When he'll do that the current package will work nicely with python2,5, >> so no problem > > The current package will not be able to work nicely with python 2.5, > even if the python maintainer does things correctly, because it depends > on python (<< 2.5). > > Cheers,
hmm yes you're right. I see. I'll change that. -- Yann