Add test command to verify version collisions do not occur (#2272)
* Add test command to verify version collisions do not occur * add max_allowable_version to schema and lock flow * add max_allowable_version to all entries in version.lock * add test-version-lock command * use min supported stack if > locked min stack * share lock conversion code with rule and lock to fix M.m bug
This commit is contained in:
@@ -29,3 +29,8 @@ class Version(tuple):
|
||||
recovered_str += "." + str(additional)
|
||||
|
||||
return recovered_str
|
||||
|
||||
|
||||
def max_versions(*versions: str) -> str:
|
||||
"""Return the max versioned string."""
|
||||
return str(max([Version(v) for v in versions]))
|
||||
|
||||
Reference in New Issue
Block a user