Ask Your Question

hard requirement of lxml == 2.3

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

mapleoin gravatar image

Why does quantum server require lxml at the specific 2.3 version? AFAICS it's only used once in quantum/ (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

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

salvatore-orlando gravatar image

Hi Ionut,

Thanks for raising this point. That dependency , as well as the line you mentined in, 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.


edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


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

Seen: 40 times

Last updated: Mar 27 '12