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

Version tag #140

Closed
dgasmith opened this issue Nov 13, 2018 · 6 comments
Closed

Version tag #140

dgasmith opened this issue Nov 13, 2018 · 6 comments

Comments

@dgasmith
Copy link

Would it be possible to create a __version__ attribute or similar so that individual runs can be reproduced? We usually recommend versioneer or similar for this kind of operation.

@zasdfgbnm
Copy link
Contributor

__version__ is a good suggestion. But I don't like versioneer. It hasn't been updated for a year, and it generate has some DeprecationWarning.

@dgasmith
Copy link
Author

Yea, versioneer is starting to get a bit out of date, not sure what happened to the maintainer. I would assume that someone will fork it at some point. Anywho versioneer is "installed" so that a git repo carries it around and acts like a static dependancy. While it hasn't been updated in awhile it certainly does the job without issue and is used in many high profile projects, see the following two examples:
https://github.com/pandas-dev/pandas
https://github.com/dask/dask

Unfortunately not aware of alternatives for automatic versioning. There is the good old "by hand" approach, but it is easy to forget to update and has the downside of not being correct between releases.

@zasdfgbnm
Copy link
Contributor

@dgasmith I will start using versioneer when I'm ready to release 0.2.

@zasdfgbnm zasdfgbnm mentioned this issue Dec 11, 2018
4 tasks
@zasdfgbnm zasdfgbnm added the 0.2 label Dec 11, 2018
@zasdfgbnm
Copy link
Contributor

This seems to be a good active alternative of versioneer: https://github.com/pypa/setuptools_scm/

@zasdfgbnm
Copy link
Contributor

#152

@zasdfgbnm
Copy link
Contributor

@dgasmith I'm done with this using setuptools_scm. I'm closing this now. Feel free to reopen if you have further concern.

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

No branches or pull requests

2 participants