I found the issue. It is because my keystonemiddleware version is 1.6.1, while this version require pbr<1.0, >=0.6 (for keystonemiddleware>=1.5.0). So in the devstack installation, it will downgrade my pbr from 1.2.0 to 0.11.0. After I upgrade my keystonemiddleware to 2.0.0 and pbr back to 1.2.0, this issue does not exist now. Therefore it is a bug, for pbr-0.11.0 is not compatible with those projects with lines like "*;python_version=='2.7'", while in their requirements.txt files there are still "pbr<2.0,>=0.11".
-Ken From: Chen, Ken Sent: Friday, June 26, 2015 9:16 AM To: [email protected] Subject: [devstack][keystone][nova][glance][heat] error met when dealing with requirements files 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
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : [email protected] Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
