On Tue, Jul 18, 2006 at 11:53:26AM +0200, Matthias Klose wrote: > Raphael Hertzog writes: > > tag 378604 + patch > > thanks > > > > On Mon, 17 Jul 2006, Matthias Klose wrote: > > > Package: debhelper > > > Version: 5.0.37.3 > > > Severity: important > > > > > > Looking at python2.4-schoolbell, ${python:Depends} is expanded to > > > > > > python-central (>= 0.5), python (<< 2.5), python (>= 2.4) | python2.4 > > > > > > which is wrong. > > > > It's not really wrong... but it's not really optimized for the purpose of > > the package. > > > > The package puts files in /usr/lib/python2.4/site-packages so it won't > > work with python2.5 ... the "python (<< 2.5)" guarantees that. > > > > There's no script using "#!/usr/bin/python2.4" otherwise you would have > > had a dependency "python2.4" ... > > > > In theory, looking at the package it should have gotten a "python (>= > > 2.4), python (<< 2.5)" dependency however since that's not satisfiable in > > sid right now, it has been loosened to the dependency above. > > > > If modules are meant for public uses, they should work with all python > > versions and in that case the dependency they get is the right one. But in > > this case, we have public modules which are not really meant to be used by > > the end-user and which are only used by one application and thus compiled > > for the version that this application uses. > > all the modules are for public use. however zope3 is only available > for python2.4 (and not above), so the same is needed for packages > depending on zope3. You have two hints that a dependency on a > unversioned python is unwanted: > > - XS-Python-Version is explicitely set > - the package is named python2.4-xxx
FYI, in the schooltool packages for the next upstream release, the package name will take the form python-xxx. However the XS-Python-Version will continue to be set to a subset of the python versions of the its dependencies (zope3 being the main culprit). -- Brian Sutherland Metropolis - "it's the first movie with a robot. And she's a woman. And she's EVIL!!" -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]