If you have more insight into how pyarrow.__version__ gets computed, please let me know!
When recompiling pyarrow multiple times at the same commit, sometimes I see different values for pyarrow.__version__ and sometimes it is None. And the versions often seem way off. For example, we are currently around 0.8 or 0.9, but the version I just got from compiling was 0.3.1.dev51+gb599b9e. I'd expect it to only depend on the current git hash, but it seems to depend on other factors that I can't quite pin down. I think the relevant lines are https://github.com/apache/arrow/blob/8986521255f48a2aa775921eac0175b4e7afaa16/python/setup.py#L402-L410 . Those lines seem to run some variant of the command git describe --dirty --tags --long --match *.* --match 'apache-arrow-[0-9]*' Though not quite in that form because when I run that locally I see fatal: --dirty is incompatible with commit-ishes Thanks for your help!