GeezerVison is showing github.com — Use the 'release-branch-semver' version scheme for setuptools_scm by seisman · Pull Request #3828 · GenericMappingTools/pygmt
Conversation
seisman
commented
Feb 28, 2025
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
See #3828 for the original issue report.
Upstream explainations at https://setuptools-scm.readthedocs.io/en/latest/extending/#setuptools_scmversion_scheme.
Semantic versioning for projects with release branches. The same as guess-next-dev (incrementing the pre-release or micro segment) however when on a release branch: a branch whose name (ignoring namespace) parses as a version that matches the most recent tag up to the minor segment. Otherwise if on a non-release branch, increments the minor segment and sets the micro segment to zero, then appends .devN
With the release-branch-semver version scheme, the next dev version is v0.15.0.dev0 rather than v0.14.1.dev0 after we release v0.14.0.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
weiji14 reacted with thumbs up emoji
|
@weiji14 Hopefully you have time to review this PR and issue #3826, since you may have more experience with package versioning.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
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.
Sorry for the late reply, too much work+travel during the past two weeks. Using release-branch-semver seems ok, having v0.15.0.devX as the next dev version instead of v0.14.1.devX makes sense, given that PyGMT doesn't do patch releases that often.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Reviewers
weiji14
weiji14 approved these changes
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
maintenance
Boring but important stuff for the core devs
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.