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

Replace setuptools-scm with bumpversion #272

Merged
merged 1 commit into from
Jul 31, 2022
Merged

Conversation

messense
Copy link
Member

See the discussion in #271.

  • patch release: bumpversion patch
  • minor release: bumpversion minor
  • major release: bumpversion major

@messense messense force-pushed the bumpversion branch 2 times, most recently from 9ea8dad to 67fcbb7 Compare July 27, 2022 06:55
@@ -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(".")))
Copy link
Member Author

@messense messense Jul 28, 2022

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

Copy link
Member

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(".")))
Copy link
Member

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

Copy link
Member

@davidhewitt davidhewitt left a 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!

@messense messense merged commit 637ee8f into PyO3:main Jul 31, 2022
@messense messense deleted the bumpversion branch July 31, 2022 02:39
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