News for hackers. Stuff that matters.
Re:Mongrel2 Says, "Goodbye Python" by nailer on Tuesday September 21, 2010 @03:28PM (#1713783)
> There's no mechanism for identifying such minimum possible dependencies.

Er, yes there is, and there has been for at least the last 12 years, and probably more.

Requires: python >= 2.6.1

Re:Mongrel2 Says, "Goodbye Python" by kfool on Tuesday September 21, 2010 @07:06PM (#1714465)
What you mention is a manual mechanism which is not often used. Instead, developers say:

Requires: python

The automatic mechanism in place is to run ldd, identify the list of libraries used by the executables distributed, and mark those libraries as dependencies. Since the package is build on your newer, Debian 5 package, it requires (automatically) the newer libfoo (like python-2.7), while it would have worked just fine with the older libfoo (python-2.5).

Re:Mongrel2 Says, "Goodbye Python" by nailer on Wednesday September 22, 2010 @05:51AM (#1715668)
>>> There's no mechanism for identifying such minimum possible dependencies.

>> Yes there is

> What you mention is a manual mechanism

I agree, they should ditch the automatic ldd method. I justy wanted to correct the inaccuracy of saying there wasn't a way to specify min versions.