[Openstack] [devstack][keystone][nova][glance][heat] error met when dealing with requirements files

Chen, Ken ken.chen at intel.com
Fri Jun 26 01:15:42 UTC 2015


Today when I tried to build devstack on Ubuntu trusty, I found errors that I have not met before:

error in setup command: 'tests_require' must be a string or list of strings containing valid project/version requirement specifiers; Expected ',' or end-of-list in python-ldap>=2.4;python_version=='2.7' at ;python_version=='2.7'

It is because in keystone/test_requirements.txt, there is a line which cannot be recognized (the part after the semicolon):

python-ldap>=2.4;python_version=='2.7'

There are similar issue in glance/test_requirements.txt, nova/test_requirements.txt, and heat/requirements.txt where we have line like "*;python_version=='2.7'"
I do not know why, for I have already upgraded my pip and setuptools to the latest version.

-Ken
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150626/7cd82af7/attachment.html>


More information about the Openstack mailing list