lxml is a hard dependency even if XmlBodyMiddleware is not enabled
Bug #1351016 reported by
werner mendizabal
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Low
|
Marek Denis |
Bug Description
When XmlBodyMiddleware is not enabled in keystone-paste.ini
keystone will still require lxml to be installed.
Changed in keystone: | |
assignee: | werner mendizabal (nonameentername) → Lance Bragstad (lbragstad) |
Changed in keystone: | |
assignee: | Lance Bragstad (lbragstad) → werner mendizabal (nonameentername) |
Changed in keystone: | |
assignee: | werner mendizabal (nonameentername) → Lance Bragstad (lbragstad) |
summary: |
- When the XmlBodyMiddleware is not enabled keystone lxml + lxml is a hard depedency even if XmlBodyMiddleware is not enabled |
summary: |
- lxml is a hard depedency even if XmlBodyMiddleware is not enabled + lxml is a hard dependency even if XmlBodyMiddleware is not enabled |
tags: | added: xml |
Changed in keystone: | |
assignee: | Lance Bragstad (lbragstad) → David Stanek (dstanek) |
Changed in keystone: | |
assignee: | David Stanek (dstanek) → Lance Bragstad (lbragstad) |
Changed in keystone: | |
assignee: | Lance Bragstad (lbragstad) → Marek Denis (marek-denis) |
Changed in keystone: | |
milestone: | none → juno-3 |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
milestone: | juno-3 → 2014.2 |
To post a comment you must log in.
Looks like the XmlBodyMiddleware is planned to be removed in Kilo?
Also, I think the main problem here is due to the import chain:
https:/ /github. com/openstack/ keystone/ blob/a617408a7b a441b46fc618a86 501adbcaa403dd9 /keystone/ middleware/ core.py# L20 which in turn imports https:/ /github. com/openstack/ keystone/ blob/a617408a7b a441b46fc618a86 501adbcaa403dd9 /keystone/ common/ serializer. py#L23 regardless