[Pkg-games-ubuntu] [Bug 199014] Re: python-xml removal: please drop/replace (build) dependencies

Launchpad Bug Tracker 199014 at bugs.launchpad.net
Tue Jul 21 16:29:17 UTC 2009


** Branch linked: lp:ubuntu/karmic/pyragua

-- 
python-xml removal: please drop/replace (build) dependencies
https://bugs.launchpad.net/bugs/199014
You received this bug notification because you are a member of
Debian/Ubuntu Games Team, which is subscribed to liquidwar in ubuntu.

Status in The GStreamer Multimedia Framework: Fix Released
Status in “conduit” package in Ubuntu: Fix Released
Status in “elisa” package in Ubuntu: Fix Released
Status in “emesene” package in Ubuntu: Fix Released
Status in “eric” package in Ubuntu: Fix Released
Status in “fonttools” package in Ubuntu: Fix Released
Status in “gdeskcal” package in Ubuntu: Fix Released
Status in “gdesklets” package in Ubuntu: Fix Released
Status in “genshi” package in Ubuntu: Fix Released
Status in “gnomecatalog” package in Ubuntu: Fix Released
Status in “gramps” package in Ubuntu: Fix Released
Status in “gst-plugins-bad0.10” package in Ubuntu: Fix Released
Status in “gst-plugins-base0.10” package in Ubuntu: Fix Released
Status in “gst-plugins-good0.10” package in Ubuntu: Fix Released
Status in “gst-plugins-ugly0.10” package in Ubuntu: Fix Released
Status in “gstreamer0.10” package in Ubuntu: Fix Released
Status in “hotwire” package in Ubuntu: Fix Released
Status in “html5lib” package in Ubuntu: Fix Released
Status in “imgseek” package in Ubuntu: Fix Released
Status in “kaa-base” package in Ubuntu: Fix Released
Status in “libopensync-plugin-google-calendar” package in Ubuntu: Fix Released
Status in “liquidwar” package in Ubuntu: Fix Released
Status in “livemix” package in Ubuntu: Fix Released
Status in “ll-xist” package in Ubuntu: Fix Released
Status in “memaid-pyqt” package in Ubuntu: In Progress
Status in “mmpython” package in Ubuntu: Fix Released
Status in “mnemosyne” package in Ubuntu: Fix Released
Status in “opendict” package in Ubuntu: Fix Released
Status in “penguintv” package in Ubuntu: Fix Released
Status in “pypar2” package in Ubuntu: Fix Released
Status in “pyragua” package in Ubuntu: Fix Released
Status in “pyslide” package in Ubuntu: Fix Released
Status in “python-4suite” package in Ubuntu: Fix Released
Status in “python-davlib” package in Ubuntu: Won't Fix
Status in “python-reportlab” package in Ubuntu: Fix Released
Status in “qm” package in Ubuntu: Fix Released
Status in “revelation” package in Ubuntu: Fix Released
Status in “schooltool” package in Ubuntu: Won't Fix
Status in “serpentine” package in Ubuntu: Fix Released
Status in “skencil” package in Ubuntu: Fix Released
Status in “thuban” package in Ubuntu: Fix Released
Status in “tinyerp-server” package in Ubuntu: Fix Released
Status in “wxwidgets2.6” package in Ubuntu: Fix Released
Status in “wxwidgets2.8” package in Ubuntu: Fix Released
Status in “xen-3.2” package in Ubuntu: Fix Released
Status in “zsi” package in Ubuntu: Fix Released

Bug description:
---------------------------
SRU TEST CASE For pyslide

Version 0.4-10ubuntu2 in hardy is missing it's dependency on python-xml

Version 0.4-10ubuntu2.1 in hardy-proposed re-adds this dependency.

In order to test that this fixes pyslide, remove python-xml. Then install pyslide-0.4-10ubuntu2.1 from hardy-proposed to first verify that python-xml is correctly installed as a dependency.

Next, navigate to "/usr/share/doc/pyslide/examples"
Then, run "pyslide full.xml" 

You should be able to navigate through the slide show.

Without python-xml installed, you will receive the following Traceback:

Traceback (most recent call last):
  File "/usr/bin/pyslide", line 30, in <module>
    m.action()
  File "/var/lib/python-support/python2.5/Pyslide/Main/__init__.py", line 71, in __call__
    fo = main.loadfile(fn)
  File "/var/lib/python-support/python2.5/Pyslide/Main/__init__.py", line 294, in loadfile
    from Pyslide.File import ReadFile
  File "/var/lib/python-support/python2.5/Pyslide/File.py", line 42, in <module>
    class ContentParser(xml.sax.saxutils.DefaultHandler):
AttributeError: 'module' object has no attribute 'DefaultHandler'
---------------------------


Debian is working to remove python-xml before the lenny release.  If would be 
good if Ubuntu could manage the same for Hardy.  Since some time a subset of 
python-xml is included in the standard python library, while the python-xml 
package did not see any updates for years.  It is time to drop it from the 
distribution. 

Update scenarios:

 - Just drop the (build) dependency, if the functionality is included
   in python. (Build)-depend on python (>= 2.4).

 - Copy missing code in the std library from the python-xml package.
   (e.g. for some installer packages: localechoose).

 - Use another xml library (python-4suite-xml, python-lxml).

This has been the subject of a recent mass bug filing in Debian, so in many 
cases it's just a question of syncing an updated package from Debian.  See

http://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=python-xml-removal;users=pkg-zope-developers@lists.alioth.debian.org

for the Debian bugs and their status.  



More information about the Pkg-games-ubuntu mailing list