Since release Liberty, OpenStack doesn't have common release version
(like 2015.1.0). If we use release codename to identify the version
instead (like 'liberty'), it cannot be compared to previous numeric
versions with distutils.version.StrictVersion.
Use of LooseVersion instead ensures that alphabetic version will always
be considered 'newer' than numeric version.
Reviewed: https:/ /review. openstack. org/251260 /git.openstack. org/cgit/ openstack/ fuel-ostf/ commit/ ?id=9243eab196d b78d1a401f7309b a624f125f509ff
Committed: https:/
Submitter: Jenkins
Branch: master
commit 9243eab196db78d 1a401f7309ba624 f125f509ff
Author: Oleg Gelbukh <email address hidden>
Date: Mon Nov 30 09:25:52 2015 +0000
Compare versions of OpenStack with LooseVersion
Since release Liberty, OpenStack doesn't have common release version version. StrictVersion.
(like 2015.1.0). If we use release codename to identify the version
instead (like 'liberty'), it cannot be compared to previous numeric
versions with distutils.
Use of LooseVersion instead ensures that alphabetic version will always
be considered 'newer' than numeric version.
Change-Id: Ifefc4fab56993e d369a92804b1a86 6e766b2ec0b
Related-bug: 1503663