Helm Needs Semver Compatible Versions
Fleeting- Référence externe : https://github.com/helm/helm/issues/9728
documented in multiple locations that version strings must comply with the Semantic version 2.0 specification
import semver
return semver.VersionInfo.parse("1.2.3-something")
1.2.3-something
import semver
return semver.VersionInfo.parse("1.2.3-something_else")
Traceback (most recent call last):
File "<stdin>", line 6, in <module>
File "<stdin>", line 4, in main
File "/home/sam/.local/lib/python3.10/site-packages/semver.py", line 726, in parse
raise ValueError("%s is not valid SemVer string" % version)
ValueError: 1.2.3-something_else is not valid SemVer string