python-xml depends on python (< 2.6)

Bug #336631 reported by Florent
2
Affects Status Importance Assigned to Milestone
python-xml (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: python-xml

I have python2.5 and python 2.6 both installed on Ubuntu Jaunty 9.04.

I cannot install python-xml on python2.5 because the package dependency is too strict.
The dependency should be loosened.

The following packages have unmet dependencies:
  python-xml: Depends: python (< 2.6) but 2.6.1-0ubuntu1 is to be installed

python
  2.6.1-0ubuntu1
python2.5
  2.5.4-1ubuntu2
python2.6
  2.6.1-0ubuntu9
python-xml
  0.8.4-10.1ubuntu1

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

dependencies on python-xml should be removed instead.

Revision history for this message
Florent (florent.x) wrote :

I installed a package which is built for python2.5 and requires pyxml to work correctly.
The statement which fails is "from xml import xpath"...

For backward compatibility, it should be allowed to keep python-xml installed for Python 2.5, even if you install python2.6 on your system.

Or I missed something...

Revision history for this message
Florent (florent.x) wrote :

I found an argument why to prefer lxml upon PyXML.
http://blog.ianbicking.org/2008/03/30/python-html-parser-performance/

However I need this issue fixed to preserve backward compatibility.

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.