Skip to content

Versioneer #2163

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

Merged
merged 5 commits into from
May 20, 2018
Merged

Versioneer #2163

merged 5 commits into from
May 20, 2018

Conversation

jhamman
Copy link
Member

@jhamman jhamman commented May 18, 2018

  • Closes git version label yields version in violation of PEP 440 #1300 (in a more portable way)
  • Tests passed (for all non-documentation changes)
  • Fully documented, including whats-new.rst for all changes and api.rst for new API (remove if this change should not be visible to users, e.g., if it is an internal clean-up, or if this is part of a larger project that will be documented later)

This eliminates the need to edit setup.py before / after release and is a nice step towards simplifying xarray's release process.

@@ -102,7 +102,7 @@
# built documents.
#
# The short X.Y version.
version = xarray.version.short_version
version = xarray.__version__.split('+')[0]
Copy link
Member Author

Choose a reason for hiding this comment

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

this is the one change that worries me. It is possible people were relying on the xarray.version module...

Copy link
Member

Choose a reason for hiding this comment

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

If they were... then they will have to fix up their code.

@dopplershift
Copy link
Contributor

Versioneer has worked great for us. Cutting a release is triggered just by making a new release on GitHub.

@shoyer
Copy link
Member

shoyer commented May 19, 2018

Very nice!

I tested this out locally and it seems to properly with picking up new tags 👍

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.

3 participants