-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
access git revision of currently running pandas #21295
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
Comments
I'm not very clear on the use case here - can you provide a concrete example of how this would be useful? |
most common:
more complex would be to process pipelines using different versions of pandas simultaneously, so auditing git revision from each job in a pipeline. |
Pandas development version already gives an abbreviated form of the git revision:
That's not sufficient? |
It is good but not sufficient. It still requires lookup to git repo to get commit sha. |
@jangorecki feel free to make a PR like https://github.com/dask/dask/pull/1760/files |
@jangorecki could you make a PR implementing this? |
@TomAugspurger not anytime soon |
Added |
@atulagrwl any reason why this was not yet merged? |
@jangorecki the PR is still open, and currently has a merge conflict. |
I would like to know from inside the code which pandas git revision I am running at the moment. So I can easily confirm I am on proper branch/revision when testing some new features/bug fixes.
Is it possible in pandas? If it isn't I would like this issue to be FR for such functionality. Just git commit hash is enough.
In dask you can access this info with
dask.__git_revision__
.The text was updated successfully, but these errors were encountered: