-
Notifications
You must be signed in to change notification settings - Fork 133
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
bioconda_utils.version gets out of sync -> use versioneer? #261
Conversation
Do folks have any thoughts on versioneer vs pbr (https://docs.openstack.org/pbr/latest/)? I've had reasonable (but not awesome) experiences with both, so figured I'd run a quick survey... |
Crazy, all this code for just a version. Is it less with PBR? |
I also found PBR to be kinda heavyhanded, but we use it a bit here: https://github.com/counsyl/stor/. The |
Ye, it's one big blob. But I find # This file was generated by 'versioneer.py' (0.18) from
# revision-control system data, or from the parent directory name of an
# unpacked source archive. Distribution tarballs contain a pre-generated copy
# of this file.
import json
version_json = '''
{
"date": "2018-01-30T18:47:45+0100",
"dirty": false,
"error": null,
"full-revisionid": "86ed9ccfc35acf65000c6d2c794ff24160560c51",
"version": "0.11.4+2.g86ed9ccf"
}
''' # END VERSION_JSON
def get_versions():
return json.loads(version_json) (The only strange thing with that is the As for |
On a second though about PBR being more intrusive: This might've been more applicable a few years back. Now (already for quite some time) that |
A main plus for Overall I think it's very beneficial to have something inplace that lets us avoid that redundancy/potential inconsistency in the release process -- but I don't really mind what technique we use (as long as it's reliable). |
Anything SGTM, I just wanted to hear some folks' opinions on the matter. |
Ok, merged. Let's use versioneer :-). |
https://github.com/bioconda/bioconda-utils/blob/v0.11.4/bioconda_utils/version.py still says
0.11.1
.What do you think about using
versioneer
to have a set-and-forget solution so we don't have to manually maintain that anymore ourselves?