[Python-modules-team] Bug#560328: python-docutils: Insufficient dependency on ElementTree implementation
Jakub Wilk
ubanus at users.sf.net
Thu Dec 10 13:56:29 UTC 2009
Package: python-docutils
Version: 0.6-1
Severity: minor
python-docutils currently depends on:
python (>= 2.5) | python-lxml | python-elementtree
However, for a reason on another, upstream disabled conditional use of
lxml's ElementTree implementation:
| $ grep -C3 'from lxml import' /usr/share/pyshared/docutils/writers/odf_odt/__init__.py
| WhichElementTree = ''
| try:
| # 1. Try to use lxml.
| #from lxml import etree
| #WhichElementTree = 'lxml'
| raise ImportError('Ignoring lxml')
| except ImportError, e:
(Severity minor, because it could only affect pre-lenny systems.)
--
Jakub Wilk
More information about the Python-modules-team
mailing list