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

Use StrEnum for python 3.11 compatibility (Fixes #16) #21

Merged
merged 4 commits into from
Oct 21, 2023

Conversation

tleyden
Copy link
Contributor

@tleyden tleyden commented Oct 19, 2023

Comment on lines +192 to +194
if bump == BumpType.MAJOR.value:
v = Version(f"{v.major + 1}.0.0")
elif bump == BumpType.MINOR:
elif bump == BumpType.MINOR.value:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

It wasn't possible to use StrEnum in this python module, since this module is used for installing all 3rd party deps, so it would be a catch-22

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.

1 participant