hard requirement of lxml == 2.3

asked 2012-02-14 15:18:48 -0600

mapleoin gravatar image

Why does quantum server require lxml at the specific 2.3 version? AFAICS it's only used once in quantum/wsgi.py (etree.tostring(root, encoding='UTF-8', xml_declaration=True))

Can't something else be used instead. For example minidom?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2012-02-14 15:33:19 -0600

salvatore-orlando gravatar image

Hi Ionut,

Thanks for raising this point. That dependency , as well as the line you mentined in wsgi.py, was added when bringing code from nova's API layer into Quantum. In the long run, it should all hopefully fall within openstack-common. Nevertheless, if you have a solution for replacing lxml.etree with minidom or else, feel free to file a bug and submt a patch for it.

Salvatore

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2012-02-14 15:18:48 -0600

Seen: 30 times

Last updated: Mar 27 '12