OpenStack Neutron (virtual network service)

hard requirement of lxml == 2.3

Asked by Ionuț Arțăriși on 2012-02-14

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?

Question information

Language:
English Edit question
Status:
Solved
For:
neutron Edit question
Assignee:
No assignee Edit question
Solved by:
Salvatore Orlando
Solved:
2012-03-27
Last query:
2012-03-27
Last reply:
2012-02-14

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

Ionuț Arțăriși (mapleoin) said : #2

Thanks Salvatore Orlando, that solved my question.