rbarrois / python-semanticversion

Semantic version comparison for Python (see http://semver.org/)
BSD 2-Clause "Simplified" License
281 stars 74 forks source link

fix: `Version.next_xxx` with prerelease with npm style #129

Closed hfudev closed 1 year ago

hfudev commented 2 years ago

closes #128

based on npm style. https://docs.npmjs.com/cli/v6/using-npm/semver#caret-ranges-123-025-004

according to the doc, simplespec inherit the caret from the npm. Not sure if you agree this behavior or not @rbarrois, since I can tell from the code that the current behavior is designed to be like that.