version-compare icon indicating copy to clipboard operation
version-compare copied to clipboard

Epoch operator

Open remkade opened this issue 2 years ago • 2 comments

This adds support for the Python style version Epochs.

These are intended to allow developers to change their versioning scheme but also still maintain version ordering. More details here: https://peps.python.org/pep-0440/#version-epochs

I implemented this by adding a new Manifest option called epoch: bool and then adding logic to the fn split_version_str() to check for the presence of that epoch manifest option and inject a default manifest version of 0 if necessary.

remkade avatar Jul 07 '23 15:07 remkade

Sweet. Thanks for implementing!

I'd like to merge this in about a week. Is that okay, or would you like to see this ASAP?

timvisee avatar Jul 15 '23 09:07 timvisee

No urgency, feel free to merge whenever!

remkade avatar Jul 21 '23 19:07 remkade