hard requirement of lxml == 2.3

Asked by Ionuț Arțăriși

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:
Last query:
Last reply:
Revision history for this message
Best Salvatore Orlando (salvatore-orlando) said :
#1

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

Revision history for this message
Ionuț Arțăriși (mapleoin) said :
#2

Thanks Salvatore Orlando, that solved my question.