poetry-core
poetry-core copied to clipboard
versions: preserve any local label when bumping
Split out of #379
What is this fixing?
I don't think it's obvious what the "right" behaviour is, or even that there is a single right behaviour
- eg users of
poetry version
might - or might not - want this updated behaviour - there are internal places that call
next_minor()
andnext_major()
as part of version comparison, does this change help or hurt them?