-
Notifications
You must be signed in to change notification settings - Fork 103
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
Replace setuptools-scm
with bumpversion
#272
Conversation
9ea8dad
to
67fcbb7
Compare
@@ -0,0 +1,4 @@ | |||
__version__ = version = "1.4.1" | |||
__version_tuple__ = version_tuple = tuple( | |||
map(lambda x: int(x[1]) if x[0] < 3 else x[1], enumerate(__version__.split("."))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This __version_tuple__
is for compatibility with previous setuptools-scm
, it's kinda ugly and doesn't handle alpha/beta releases well, we could remove it in 2.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 let's note it in #259
@@ -0,0 +1,4 @@ | |||
__version__ = version = "1.4.1" | |||
__version_tuple__ = version_tuple = tuple( | |||
map(lambda x: int(x[1]) if x[0] < 3 else x[1], enumerate(__version__.split("."))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 let's note it in #259
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thanks!
See the discussion in #271.
bumpversion patch
bumpversion minor
bumpversion major