please build elementtree for python2.5

Bug #104184 reported by Dan O'Huiginn
6
Affects Status Importance Assigned to Milestone
elementtree (Ubuntu)
Fix Released
Undecided
Michael Bienia

Bug Description

In python2.5, elementtree is included with python itself, as xml.etreeElementTree (http://docs.python.org/lib/module-xml.etree.ElementTree.html). Because of this, the elementtree package has not included python2.5 support since 1.2.6-8 (see changelog). This is needlessly breaking a lot of old code. I'd like to reverse that decision, and set the elementtree package to work with python2.5

In particular:
a) old packages which use elementtree are breaking on Ubuntu (e.g. see bug #84145 and bug #83639). Not such a big problem(we can fix these as they crop up)
b) More importantly, we will also be breaking a lot of user-scripts (see bug #84687)

For reference, at least the following packages are likely to be affected. If we aren't going to install elementtree for python2.5, these will need to be manually checked/fixed:

$ apt-cache rdepends python-elementtree
python-elementtree
Reverse Depends:
  python-turbogears
  python-kid
  python-jtoolkit
  python-elementtidy
  python-dogtail
  python-celementtree
  pyste
  exaile
  python-qt4

In addition, there are several other packages which indirectly depend on python-elementtree.

Installing for python2.5 isn't going to cause much trouble for anybody. The only people installing it will be those with old code, and a significant number of them will want to use it with python2.5

Revision history for this message
Dan O'Huiginn (daniel-ohuiginn) wrote :

Subscribing Matthias, as it's a python-related judgment call deciding what to do about this bug.

Revision history for this message
Matthias Klose (doko) wrote :

ok with me; elementtree will be demoted for feisty anyway; but the better way would be to fix the dependents like its done in python-qt4.

Changed in elementtree:
status: Unconfirmed → Confirmed
Changed in elementtree:
assignee: nobody → daniel-ohuiginn
status: Confirmed → In Progress
Revision history for this message
Dan O'Huiginn (daniel-ohuiginn) wrote :
Revision history for this message
Michael Bienia (geser) wrote :

-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Format: 1.7
Date: Wed, 11 Apr 2007 11:35:45 +0200
Source: elementtree
Binary: python-elementtree python-elementtree-doc
Architecture: source
Version: 1.2.6-10ubuntu2
Distribution: feisty
Urgency: low
Maintainer: Ubuntu MOTU Developers <email address hidden>
Changed-By: Dan O'Huiginn <email address hidden>
Description:
 python-elementtree - Light-weight toolkit for XML processing
 python-elementtree-doc - Documentation for ElementTree
Launchpad-Bugs-Fixed: 104184
Changes:
 elementtree (1.2.6-10ubuntu2) feisty; urgency=low
 .
   * Build for python 2.5 (LP: #104184)
   * debian/control: update maintainer and description
Files:
 9fb1bd55dff171a5b7ccf4444372ecf4 1093 python optional elementtree_1.2.6-10ubuntu2.dsc
 50603633fac2f2ec840e71424808db4c 3675 python optional elementtree_1.2.6-10ubuntu2.diff.gz
Original-Maintainer: Debian Python Modules Team <email address hidden>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.3 (GNU/Linux)

iQCVAwUBRhy7jqPP1313boLqAQNFgQP/aJc/E1CBKhITtA/dTYvZu28VVaGFcP+9
96rTGRl9GGrcR7WYcS7G7xjSChyCEi8ZpTW3gS43ringFLPAMqMVXoqXOODS0Nqo
DNrHDmx8uaEDnch/wP91UH3B6aeK2P0DR8l6AZXU4RHHTrJnT0mgZyzTs7j4DCx1
veai8zuajG0=
=zCj+
-----END PGP SIGNATURE-----

Changed in elementtree:
assignee: daniel-ohuiginn → geser
status: In Progress → Fix Committed
Changed in elementtree:
status: Fix Committed → Fix Released
Revision history for this message
Scott Kitterman (kitterman) wrote :

While this was appropriate for Feisty, we are undoing this for Gutsy. Old code should be updated to work with Python 2.5.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.