[Python-modules-team] Bug#479864: does not work with default python (2.5)

Steve M. Robbins smr at debian.org
Wed May 7 03:29:33 UTC 2008

Package: python-elementtree
Version: 1.2.6-12
Severity: important

Did this package somehow miss the python transition?  
Or does it not work with 2.5 for some reason?

I noticed the problem because it breaks pyste:

steve at riemann{boost1.35-1.35.0}pyste
Traceback (most recent call last):
  File "/usr/bin/pyste", line 7, in <module>
    from Pyste import pyste
  File "/var/lib/python-support/python2.5/Pyste/pyste.py", line 53, in <module>
    from CppParser import CppParser, CppParserError
  File "/var/lib/python-support/python2.5/Pyste/CppParser.py", line 6, in <module>
    from GCCXMLParser import ParseDeclarations
  File "/var/lib/python-support/python2.5/Pyste/GCCXMLParser.py", line 12, in <module>
    from elementtree.ElementTree import ElementTree
ImportError: No module named elementtree.ElementTree

The import does work with Python 2.4, of course:

steve at riemann{boost1.35-1.35.0}python2.4
Python 2.4.5 (#2, Apr 17 2008, 13:00:52)
[GCC 4.2.3 (Debian 4.2.3-3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from elementtree.ElementTree import ElementTree

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-elementtree depends on:
ii  python                        2.5.2-1    An interactive high-level object-o
ii  python-support                0.7.7      automated rebuilding support for P

python-elementtree recommends no packages.

-- no debconf information

More information about the Python-modules-team mailing list