Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle nonzero version epoch in StandardScheme (fix #1032) #1036

Merged
merged 5 commits into from
Nov 26, 2023

Conversation

object-Object
Copy link
Contributor

This fixes #1032, where hatch version would strip version epochs when incrementing the version.

As far as I can tell, it's fine to remove epoch: 0 here because version._version.epoch defaults to 0 if not set.

Copy link
Collaborator

@ofek ofek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@ofek ofek merged commit 63d676b into pypa:master Nov 26, 2023
36 checks passed
github-actions bot pushed a commit that referenced this pull request Nov 26, 2023
* Handle nonzero version epoch in StandardScheme (fix #1032)

* Fix wrong name type in pytest.mark.parametrize

* add release note

---------

Co-authored-by: Ofek Lev <[email protected]> 63d676b
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.

hatch version strips version epochs (eg. 1!1.0)
2 participants