barbican 2015.1.0 needs pykmip >= 0.3.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Barbican |
Fix Released
|
Medium
|
Kaitlin Farr | ||
Kilo |
Confirmed
|
Undecided
|
Kaitlin Farr |
Bug Description
Hi,
When running unit tests of barbican against pykmip 0.2.0, as per the requirements.txt, I get this:
FAIL: unittest.
unittest.
-------
_StringException: Traceback (most recent call last):
ImportError: Failed to import test module: barbican.
Traceback (most recent call last):
File "/usr/lib/
module = self._get_
File "/usr/lib/
__import_
File "barbican/
from kmip.core import misc
ImportError: cannot import name misc
The file kmip/core/misc.py was introduced in pykmip only in version 0.3.0, and it isn't found in version 0.2.0. So, either we need to fix Barbican to allow to use an older version of python-kmip, or we need to fix the requirements.txt to use at least 0.3.0.
By the way, I have just uploaded version 0.3.1 of pykmip in Sid to fix the issue, and to be able to upload Barbican to Sid as well! :)
Changed in barbican: | |
status: | New → Fix Committed |
importance: | Undecided → Medium |
assignee: | nobody → Kaitlin Farr (kaitlin-farr) |
milestone: | none → mitaka-2 |
Changed in barbican: | |
status: | Fix Committed → Fix Released |
Thanks for bringing this to attention! There's a patch out to address this: https:/ /review. openstack. org/#/c/ 164449/ 6