Closed ShamanTcler closed 4 years ago
15.0.7.287
is not a valid semantic version identifier; the syntax is <major>.<minor>.<build>[-<prerel>][+<build>]
.
15.0.7+287
would be a valid semantic version identifier, equivalent to Version(major=15, minor=0, patch=7, build=['287'])
.
print("is 15.0.7.287 a sematic version:", semantic_version.validate('15.0.7.287'))
returns: is 15.0.7.287 a sematic version: False
But yet the doc supports "build":
Thanks for the good work.