Skip to content

Epoch operator#28

Open
remkade wants to merge 3 commits into
timvisee:masterfrom
remkade:epoch_operator
Open

Epoch operator#28
remkade wants to merge 3 commits into
timvisee:masterfrom
remkade:epoch_operator

Conversation

@remkade

@remkade remkade commented Jul 7, 2023

Copy link
Copy Markdown

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.

@timvisee

Copy link
Copy Markdown
Owner

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?

@remkade

remkade commented Jul 21, 2023

Copy link
Copy Markdown
Author

No urgency, feel free to merge whenever!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants