releases/openstack_releases
Előd Illés 707a514d69 [validator] Fix bug with version comparison
This patch fixes the below bug by properly checking the old and new
version specifiers:

It seems that packaging fixed its SpecifierSet class' 'contains'
method recently which brought out a bug in validator:

When checking minimum versions we get a false negative [1] result due
to comparing '<str>' in '<SpecifierSet>', like '2.1.0' version string
(from old '>2.1.0' specifier) in '>2.1.0' (new) specifier, which should
be equal, but clearly version 2.1.0 is not in range >2.1.0, hence
the comparison gives back an error.

[1] Changed supported versions for dependency pyparsing from >2.1.0 to >2.1.0 without at least incrementing minor number

Change-Id: Iac1691714eaa8f5c236ed4c79b8ea7be92b8fcd9
2025-03-04 15:02:58 +01:00
..
2018-10-17 10:36:04 +11:00
2024-10-02 11:45:05 +02:00
2024-01-11 16:56:51 +01:00
2019-06-19 16:22:29 -07:00
2019-11-18 12:30:59 +11:00
2023-11-03 17:19:12 +00:00
2022-04-19 10:19:15 +08:00
2023-07-13 16:39:07 +10:00
2019-07-31 09:34:38 -05:00