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

Standardize format reported by cdat_info.version() #2157

Open
durack1 opened this issue Mar 6, 2017 · 1 comment
Open

Standardize format reported by cdat_info.version() #2157

durack1 opened this issue Mar 6, 2017 · 1 comment

Comments

@durack1
Copy link
Member

durack1 commented Mar 6, 2017

I've been using cdat_info.version to keep track of the cdat installed used for analysis. The output of this command has been varied through time, and I get the following output:

v2.6: >>> cdat_info.version()
['', '2.6']
v2.8: >>> cdat_info.version()
['', 'v2.8']
nightly: >>> cdat_info.version()
['2', '6', '42', 'g910814b']

It would be great to standardize this, so full releases are numeric only e.g.2.10 (so lose the leading v in v2.8 above) and keep the nightly tag intact showing major, minor, commit, hash

@doutriaux1
Copy link
Contributor

@dnadeau4 we need to update cdat_info on conda-forge it's using an old string. We should move the build to use the uv-cdat repo to get correct info.

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