You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to allow something like this? Version.coerce('1.01.1')
This raises a ValueError: Invalid leading zero in minor: '1.01.1'
but is there a specific reason why the coerce function shouldn't be able to handle this? This would be very useful as a lot of programs (docker, ubuntu) use the format: YY.MM.patch
Activity
rbarrois commentedon Dec 21, 2019
Hey, thanks for the report; this does look like a neat enhancement indeed :)
Properly coerce versions with leading zeroes.
rbarrois commentedon Dec 21, 2019
And that's fixed, released in 2.8.4 :)
Update python-semantic_version to rev 5 via SR 787484