access git revision of currently running pandas · Issue #21295 · pandas-dev/pandas (original) (raw)
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__
.