On Wed, 27 Aug 2008 at 13:07:19 +0200, Josselin Mouette wrote: > Le lundi 25 août 2008 à 00:03 +0200, Eike Nicklas a écrit : > > c) Depends: python (>=2.4), python-elementtree > > (does python2.5 provide python-elementtree?) > > It does not, which is a bug, since this option should be the correct > one.
I don't think that's actually correct, because Python 2.5's version of ElementTree is xml.etree.ElementTree, but the standalone version is ElementTree.ElementTree or something. So, packages that do the usual try:/except ImportError: dance (1) should depend on python (>= 2.5) | python-elementtree, but packages that unconditionally import ElementTree (2) should depend on python-elementtree only, and packages that unconditionally import xml.etree (3) should depend on python (>= 2.5). In practice, the maintainers of packages in category (2) should probably patch them to do the try/except stuff, though. python (>= 2.5) should not provide python-elementtree, because python-elementtree makes ElementTree available for all Python versions, but python (>= 2.5) only makes xml.etree.ElementTree available, and only for Pythons >= 2.5. smcv -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]