News for hackers. Stuff that matters.
Re:Mongrel2 Says, "Goodbye Python" by jacquesm on Tuesday September 21, 2010 @08:10AM (#1712278)
If there is one thing that ticks me off about modern unix it is that to install <insert minor package here> I end up having to install / upgrade half the rest of the system because of all the interdependencies between packages.
Re:Mongrel2 Says, "Goodbye Python" by gaius on Tuesday September 21, 2010 @09:04AM (#1712433)
Tell me about it! I just wanted to install folding-mode for Emacs the other day, dselect wanted to install a new sodding IM client as well! (Something in emacs-goodies-el depended on it). About 50M it came to!

So I just did it by hand, more like 50k...

Re:Mongrel2 Says, "Goodbye Python" by johnzabroski on Tuesday September 21, 2010 @06:00PM (#1714257)
That is a pretty wild example, but it is common in software today.

Microsoft does stuff like this all the time, deprecating good .NET libraries for stupid ones just because of God knows what reasons (none of them intelligible to non-political folk).

Re:Mongrel2 Says, "Goodbye Python" by jacquesm on Tuesday September 21, 2010 @01:16PM (#1713334)
That's an even more extreme example than the one that I just ran in to. Wow.
Re:Mongrel2 Says, "Goodbye Python" by chousuke on Wednesday September 22, 2010 @05:31AM (#1715648)
That sounds weird. Are you sure it wasn't a "Recommends" instead of a dependecy?

If it really was a dependency, I think a bug should be filed against the package. :/

Re:Mongrel2 Says, "Goodbye Python" by statictype on Tuesday September 21, 2010 @10:26AM (#1712690)
I think that's more symptomatic of the open source culture around most Unix systems than Unix itself.

Being able to share and depend on other people's libraries is great for the developers as long as they're not tied to providing support for when users can't compile or run their software.

Re:Mongrel2 Says, "Goodbye Python" by kfool on Tuesday September 21, 2010 @02:29PM (#1713564)
No, it's not symptomatic.

The problem is that about 80% of packages in distributions could be compiled against older versions of dependencies, but never do. Be default, distributions mark in the packages the dependency of their currently installed libraries, ignoring the fact that the software could have been compiled against an older version of the library too.

There's no mechanism for identifying such minimum possible dependencies.

Re:Mongrel2 Says, "Goodbye Python" by dinedal on Tuesday September 21, 2010 @03:00PM (#1713680)
Not sure that's true, most packaging systems allow the maintainer to specify the lowest version their software is compatible with.

Of course, it may be that the maintainer always specifies the latest version,

Re:Mongrel2 Says, "Goodbye Python" by kfool on Tuesday September 21, 2010 @07:08PM (#1714469)
The maintainer does not specify a version and expects the automatic process of determining minimumum dependencies to take over.

But it takes over with dependencies of newer versions than necessary.

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.

Re:Mongrel2 Says, "Goodbye Python" by jacobolus on Tuesday September 21, 2010 @02:53PM (#1713654)
> There's no mechanism for identifying such minimum possible dependencies.

Is this true? It seems like this would be one of the most obvious essential features of any package management system.

Re:Mongrel2 Says, "Goodbye Python" by fauigerzigerk on Tuesday September 21, 2010 @08:39AM (#1712366)
Exactly, and the baroqueness of package managers and the excentric configuration ideas of package writers are a symptom of that.
Re:Mongrel2 Says, "Goodbye Python" by zokier on Tuesday September 21, 2010 @10:53AM (#1712799)
I thought that was one problem Gentoo tried to solve by allowing users to select which libraries/features to use with the packages they installed
Re:Mongrel2 Says, "Goodbye Python" by astine on Tuesday September 21, 2010 @01:11PM (#1713315)
Gentoo's package manager, Portage, is written in Python, so Python presents a special challenge, when upgrading or using a different version that the default.