Discussion:
Ubuntu (and others) dropping python-xml
Andreas Wagner
2008-04-15 10:34:21 UTC
Permalink
Hi,
when trying to understand a bit more about the dependencies of referencer I came across this
ubuntu bug:
https://bugs.launchpad.net/ubuntu/+source/elisa/+bug/199014

In short, they are going to drop python-xml from the distribution and recommend to either drop
python-xml as an explicit build dependency and rely on the core python package which by now
includes much of the functionality, or use python-lxml (,or finally to include the needed
functionality with your own package, but I'm not sure I got that right).

Can you check and adapt referencer to that (and/or change the development page
(http://icculus.org/referencer/development.html) to reflect the new dependencies)?

Thanks,
Andreas
jcspray
2008-04-15 14:00:35 UTC
Permalink
Post by Andreas Wagner
In short, they are going to drop python-xml from the distribution and
recommend to either drop python-xml as an explicit build dependency and
rely on the core python package which by now includes much of the
functionality, or use python-lxml (,or finally to include the needed
functionality with your own package, but I'm not sure I got that right).
So it seems that minidom is included in python 2.5? In that case it's
simply a case of removing the dependency for python >= 2.5.

Good spot though, I was running Hardy but hadn't noticed this.

John
Frederik Elwert
2008-04-15 18:51:13 UTC
Permalink
Hi!
Post by jcspray
Post by Andreas Wagner
In short, they are going to drop python-xml from the distribution and
recommend to either drop python-xml as an explicit build dependency and
rely on the core python package which by now includes much of the
functionality, or use python-lxml (,or finally to include the needed
functionality with your own package, but I'm not sure I got that right).
So it seems that minidom is included in python 2.5? In that case it's
simply a case of removing the dependency for python >= 2.5.
As far as I can tell, minidom is included in Python since 2.0. And since
2.5, Python contains the new ElementTree API, which lxml also uses and
extends. Those are a really innovative, easy way to handle XML, but if
you just want to go with minidom, you should be able to use the one from
python instead of the one from python-xml.

Cheers,
Frederik
John Spray
2008-04-16 21:16:02 UTC
Permalink
Post by Frederik Elwert
Hi!
Post by jcspray
Post by Andreas Wagner
In short, they are going to drop python-xml from the distribution and
recommend to either drop python-xml as an explicit build dependency and
rely on the core python package which by now includes much of the
functionality, or use python-lxml (,or finally to include the needed
functionality with your own package, but I'm not sure I got that right).
So it seems that minidom is included in python 2.5? In that case it's
simply a case of removing the dependency for python >= 2.5.
As far as I can tell, minidom is included in Python since 2.0.
I've now removed all mention of python-xml from referencer. Tested
without it on ubuntu 6.06, seems to be happy.

John

Loading...